C++、Java语法差异对照表
C++ and Java Syntax Differences Cheat Sheet
First, two big things--the main function and how to compile it, followed by lots of little differences.
main function 主函数
C++
// free-floating function int main( int argc, char* argv[]) { printf( "Hello, world" ); }