hi everyon i'm new and i need some help. I've been taking a class in C++ and i downloaded the C++ 2005 express edition to my laptop to work on it at home, and the header file iomanip.h doesn't work. I bet this is probally an easy fix but help would be great
FlyingRedneck
0
Newbie Poster
Recommended Answers
Jump to PostTry just using <iomanip>. I'm guessing that you have VC6.0 or something at school, which uses old (deprecated) headers. The standard C++ headers don't have the .h extension. Unfortunately, lots of classes still use old compilers (like VC6 which even predates the C++ standard) and make it very annoying to …
Jump to Post>now it doesn't know what cout or cin is
That's because all objects in the standard template library are encased inside the std:: namespace to avoid abiguities.You have 2 options: prefix all objects with std::, like this:
std::cout << "hello world" << std::endl;
The other …
Jump to PostPost your code and the error messages you receive, please.
Jump to PostTry just using <iomanip>. I'm guessing that you have VC6.0 or something at school, which uses old (deprecated) headers.
It uses the new headers, too.
All 15 Replies
Infarction
503
Posting Virtuoso
FlyingRedneck
0
Newbie Poster
John A
1,896
Vampirical Lurker
Team Colleague
FlyingRedneck
0
Newbie Poster
John A
1,896
Vampirical Lurker
Team Colleague
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
John A
1,896
Vampirical Lurker
Team Colleague
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
John A
1,896
Vampirical Lurker
Team Colleague
Infarction
503
Posting Virtuoso
John A
1,896
Vampirical Lurker
Team Colleague
FlyingRedneck
0
Newbie Poster
John A
1,896
Vampirical Lurker
Team Colleague
FlyingRedneck
0
Newbie Poster
John A
1,896
Vampirical Lurker
Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.