Why don't the tutorials on this site work on my computer?
I'm fairly confident that the problem is with my compiler, not the tutorials. These tutorials line up with other things I've seen before, which means they're obviously accurate.
Why don't the tutorials on this site work on my computer? In the tutorials section of the site, under "Intro to C++", there is a program that the author wrote that tells cout to say, "Hey you i'm alive oh and hello world," and causes main() to return the value of 1. It was recommended by the author to try this out on my computer, so I did, using Microsoft Visual C++ .net 2003. It did not work. Even doing similar variants to it, it would not work. I also wrote the program with the int variable thisisanumber, and that would not work.
My compiler keeps on coming back with this message:
unexpected end of file while looking for precompiled header directive.
Believe me, I am doing everything the author says. I've even tried my own programs according to what he/she wrote was acceptable, and my compiler came back with the same message, not compiling what I wrote. Why?
I think it has something to do with the selection for precompiled headers I'm using, but even writing stereotypical C programs using other headers doesn't seem to work right.