Jump to content

quick question about c++

- - - - -

  • Please log in to reply
4 replies to this topic

#1
even821

even821

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
i have been wondering something. i haer people saying that it is possible to program anything in c++. if this is true, will i be able to say make a website using c++? or would i need to learn html or php?

btw sorry for the stupid question

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
You could program the server side language in c++... but you would have to program a server too... and you would still need to learn html. Except if you create a browser too...
So yes you can do it, but it's a lots of job for nothing

#3
even821

even821

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
ok thanks for clearing that up. :)

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Slight modification to what Vaielab said: You can code a server in C++ that hands out HTML/CSS/other data to querying clients. However, a browser only knows how to interpret certain types of data, and if you want the user to see a "web site", then you will have to send the client valid HTML, CSS, etc. You can also use C++ to program a CGI or ISAPI app to work with a standard web server. That's actually what PHP pages are. Also, realize that most web servers (IIS, APACHE, etc) are coded in C or C++.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
even821

even821

    Learning Programmer

  • Members
  • PipPipPip
  • 70 posts
ok thanks :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users