Quote:
When I try to compile that, I'm getting this error message.
code:--------------------------------------------------------------------------------
fatal error C1010: unexpected end of file while looking for precompiled header directive
--------------------------------------------------------------------------------
I didn't think using a string would be so difficult (or more than it should be) in C++.
You need to add the line
Quote:
I didn't think using a string would be so difficult (or more than it should be) in C++.
....
Considering it's my first C++ program ever, relax. You should obviously be able to tell I have a Java background.
I wouldn't expect to be able to write a simple program in any language without learning the basic syntax. It doesn't matter what background you've got.