Not only should main [] be main (), main should be declared to return an int. C++ does not support main as a void type, nor does it support an implicit type of int. If your compiler does, it is non-compliant in that respect.

int main ()
Furthermore, the correct syntax is std::cout, NOT std;;cout. This may be a great tutorial, but you need a copy of the material that you can SEE and some other tutorial information that you can READ.

All that is not the seat of your current problem, however. You need to go to Project/Properties/Configuration Properties/C C++/Precompiled Headers and select "Not using precompiled headers". Then delete all references to stdafx as well as stdafx.h.