what is the differece between java script and C++?

what is the difference of the code? different spacing? easier? wierder characters?

polarxl2007-06-04T09:58:39Z

Favorite Answer

The syntax is a little different- They're both c-like, so forloops look the same, while loops look the same- But Javascript is written to modify web-pages on the fly. It's written INTO the web pages. It's what's called a "scripting language". C++, on the other hand, is a compiled language. You write the C++ code, compile it, and then you get a nifty executable that you can double-click, or call from the command line, or whatever... and it'll run. Overall, C++ is a MUCH more complex language, with things like templates, STL (standard template library), threads, all sorts of madness.

Alfered1092007-06-04T17:41:30Z

java script is client side language for managing webpages at client machine . on the other hand , c++ is a compiled language which can produce windows apps , console apps , services , activex , dlls all in ATL or MFC platforms. c++ is most powerfull programming language with a low speed compiler.