Re: header files not being included in c++ compiler
"The eclipse C++ compiler"?
Eclipse is only an IDE, it doesn't include a compiler. You'll have to download a compiler somewhere else. And if you're using Windows, perhaps it's a better idea to use Microsoft Visual C++ (Express Edition). The express edition is free and includes both an IDE and a compiler. (And when making Windows programs, it's easier to find support/info for that than for Eclipse.)
Real programmers don't document their code - if it was hard to write, it should be hard to understand.