C++ and Java Cross Reference Guide
By Mike Prestwood
C++ versus Java: A side by side comparison between C++ and Java.
C++
Version: This content is based on Visual C++ and/or C++Builder and was tested in Microsoft Visual Studio.Net 2008 and/or C++Builder 2009.
This content focuses on topics in common among the languages documented here so nearly all this syntax applies to other C++ development environments as well as earlier versions of C++.
Much of Java's syntax will look similar to both Java and C# but there are significant differences.
Note: To be clear, the subject of this information is generic C++ and all code snippets are based on either Visual C++ by Microsoft or C++Builder by CodeGear (or both). Although much of the information applies to other C++ tools, we only verified the syntax and information within Visual C++ and C++Builder.
Java
Version: This content is based on jre1.6.0_07 and tested in Eclipse 3.3.2 and/or JBuilder 2008 (which is based on Eclipse 3.3).
This content focuses on topics in common among the languages documented here so nearly all this syntax applies to other Java development environments as well as earlier versions of Java.
Much of Java's syntax will look similar to both C++ and C# but with significant differences.
Note: To be clear, the subject of this information is generic Java and all code snippets were tested in either Eclipse or in JBuilder by CodeGear (or both). Although much of the information applies to other Java tools, we only verified the syntax and information within Eclipse or JBuilder.
|