NOOB:
The showcase section was just put up- at your request
anyway, the winner so far is Rahl!
NOOB- you did not bad by omitting "return 0;" because, though i didnt mention this in the video so as not to confuse anyone, the main() function is ok even without typing up "return 0;" explicitly. Unfortunately though, your program had an extra step in there- the waiting for some input...
And bearing in mind that #include "stdafx.h" isn't at all necessary according to standard c++, but rather its just a Microsoft Visual Studio thing, the best solution i can come up for this snippet contest is:
- Code: Select all
int main(){}