You should really never use void main()
People only use it to stop errors from showing up in some programs like vc++ to dev C++ ect...
Just stick with int main() and dont' forget to add the return 0; *Its not needed but if your working on a team project it can cause an error and no one wants to go back and add it if your code is like 1000+ lines.
Oh well I'm new anyways so I may be wrong but I doubt it from personal experince.
Happy programming! Burn that book while your at it. Heh!
Here is an example:
cout << "Hello World!\n";