Computer Science Canada

iomanip.h does not exist in VC++ 2008

Author:  blackhawk_prince [ Fri Jul 25, 2008 9:49 pm ]
Post subject:  iomanip.h does not exist in VC++ 2008

Hi, I am learning C++ with Deitel & Deitel How to Program C++ 1997. For this chapter I need iomanip.h for ios::fixed | ios::showpoint. As I am using a book over 10 years old has there been major changes in C++ that I should use a new book. For example, I also learned Java from Deitel & Deitel for 1997 and then all the input had to be gotten form the JOptionPane. In school I learned that sun had invented the Scanner class which I found much better and easier to use. I'm not a noob, I am strong at Java and OOP and if I do need to buy something new what should it be?

Author:  Zeroth [ Fri Jul 25, 2008 10:00 pm ]
Post subject:  Re: iomanip.h does not exist in VC++ 2008

This link should help out:
http://www.codeguru.com/forum/archive/index.php/t-304747.html

Author:  Tony [ Fri Jul 25, 2008 10:04 pm ]
Post subject:  Re: iomanip.h does not exist in VC++ 2008

blackhawk_prince @ Fri Jul 25, 2008 9:49 pm wrote:
I am strong at Java and OOP

Just keep in mind that Java first appeared in 1995. And that Java 7 is in development right now. That is, your use of the term "Java" (at least in this context) is likely very loose.

Author:  wtd [ Sat Jul 26, 2008 12:15 am ]
Post subject:  Re: iomanip.h does not exist in VC++ 2008

Zeroth @ Sat Jul 26, 2008 11:00 am wrote:


I agree.

Author:  CodeMonkey2000 [ Sat Jul 26, 2008 9:50 am ]
Post subject:  RE:iomanip.h does not exist in VC++ 2008

If you use GCC compilers, those headers should still be there for backwards compatibility reasons, but your compiler will give you a bunch of warnings since they are old. Get a newer book, or find an online reference. This is what I usually use.

Author:  blackhawk_prince [ Sun Jul 27, 2008 5:38 pm ]
Post subject:  RE:iomanip.h does not exist in VC++ 2008

Thanks for all the help. I got my code working and Tony the "Java" I know is Java 1.6

Author:  Tony [ Sun Jul 27, 2008 6:25 pm ]
Post subject:  Re: RE:iomanip.h does not exist in VC++ 2008

blackhawk_prince @ Sun Jul 27, 2008 5:38 pm wrote:
the "Java" I know is Java 1.6

from 1997? Confused "know" it? Wink


: