C++ Video – 3DBuzz Suppliment
This is a very short video explaining a problem that comes up time and time again on 3dbuzz.com. Essentially, why the code for their Hello World example doesn’t compile. If you have done any C++ coding before, you can safely ignore this video.
Note that this video is 1024×768, so hit the full screen button to get more readable detail.
Notes:
The 3DBuzz C++ videos include the following code:
main() { cout << "Hello World" << endl; }
This code fails to compile on newer versions of Visual C++ and GCC. All that needs to be done is to specify that main will return an int, and then actually return one:
int main() { cout << "Hello World" << endl; return 0; }
Of course, whether this actually needed a video is debatable!
Tags: 3dbuzz, c++, Programming, tutorial
