Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

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

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

2 Answers

Relevance
  • 1 decade ago
    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.

  • 1 decade ago

    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.

Still have questions? Get your answers by asking now.