im right now going through like a 20 page tutorial of C++, and so far what i have gone through it seems very much like Javascript and PHP... is all of C++ like that or is it MUCH more complex than JS and PHP?
2006-12-03
12:46:04
·
10 answers
·
asked by
willy
5
in
Computers & Internet
➔ Programming & Design
yeah, but what i meant was the coding but getting further into the tutorial i realize it does have some like stuff compared to JS and PHP but can be used in manny different ways
2006-12-03
12:52:24 ·
update #1
C++ is much more powerful than Javascript and PHP, but knowing either should be helpful when learning the control structures.
Both PHP and Javascript generally use web pages for their input and output. All you have to do is react to button presses and manipulate page elements.
C++ gives you ultimate power over the interface, memory usage, etc. It can read/write files, use the graphics and sound cards and pretty much anything else.
Microsoft made Windows XP in C++. Valve made Half-Life 2 in C++.
2006-12-03 12:52:23
·
answer #1
·
answered by joshtek 2
·
1⤊
1⤋
congrats on figuring that out! they are very similar in the structured programming side.
however there are many differences. Objects are done much easier in JS. the code is compiled to machine language in C (much faster).
C has declarations for types. JS does not. (and often in sleazy code there are no declarations). There are security limitations in JS as to what you can do off the page you are running in. C (and C++ can run wild and bring the system to it's knees! The worst JS can do is run a tight loop in the browser.
They both have there place. PHP & PERL & PYTHON & RUBY are all better suited to server side programming than C++.
They both have libraries(api's) that make the job easier. I choose Javacript, and use jquery as my library.. it makes coding tough tasks as simple as a couple calls!
2006-12-03 18:19:29
·
answer #2
·
answered by jake cigar™ is retired 7
·
0⤊
0⤋
Javascript is the single maximum heavily linked with internet progression. actually any professional internet developer needs to recognize it. The others are all typical-purpose languages, and although server software might want to commonly be written in them, it really is extra better stuff that you probable do not pick to worry about purely yet.
2016-11-30 02:43:30
·
answer #3
·
answered by ? 3
·
0⤊
0⤋
C++ is much more complex than Javascript. Javascript is mainly used for client side interaction such as in the browser. C++ is used on server side or for full scale applications.
2006-12-03 12:50:42
·
answer #4
·
answered by A fan 4
·
0⤊
0⤋
C++ is similar to JS, but its much more too. As you delve deeper into C++ you will notice that it has WAY more than JS. For starters look up linked lists, vectors and pointers.
2006-12-03 12:52:58
·
answer #5
·
answered by Scooter_MacGyver 3
·
0⤊
0⤋
No the real and original style of C++ totally difference then Javasctipt. Javascript syntax matched with C only
2006-12-03 15:05:50
·
answer #6
·
answered by Jack J 1
·
0⤊
1⤋
definitely no... Java script is web based scripting language designed to to bring the beutiful sides of object oriented programming to the web fanatics... while c++ in the other hand is designed for the strong foundation of general programming... windows is created from the combination of c++ languages(in all dialects) ...
2006-12-03 13:53:34
·
answer #7
·
answered by Neph 2
·
0⤊
0⤋
yea, they do have some similarities, but javascript is a more advanced programming language than c++ and they are still very different dispite their similarities.
2006-12-03 12:56:07
·
answer #8
·
answered by spurk_a_million 2
·
1⤊
1⤋
Java is much newer than C++.
http://en.wikipedia.org/wiki/Comparison_of_Java_and_C++
2006-12-03 12:50:48
·
answer #9
·
answered by ron2001brown 3
·
0⤊
2⤋
No. They are not even close.
2006-12-03 23:10:18
·
answer #10
·
answered by (ADD) 1
·
0⤊
0⤋