Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Help...not executing the code....

Status
Not open for further replies.

zerocoolws011

Programmer
Apr 19, 2004
1
US
ok..first of all i am a begginer in C++...and i wrote a code of airline thing..and i used #include<iomanip.h> and #include "apstring.h"....when i installed the C++ ..it didn't have those files..so i downloaded them from net...adn when it starts to execute the code....it have some kind of problem with these files.....any help..
 
Now C++ uses <iomanip>, not an old <iomanip.h>. But what's an animal called <apstring.h>? It's not a C++ standard file.
Build VC project, add downloaded source files (but not <iomanip.h>!) - and go on...
What's your true problem?..
 
apstring.h is one of those terrible things used by the AP computer science program. I took the class a couple years ago, and AP doesn't know what it's doing. #include <string> instead and use string instead of apstring; it does the same thing but is actually standard for C++.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top