library iostream

Jul 10, 2008 at 1:15pm
Does anyone knows where I can get iostream.h, because I need the headers list.h and stack.h.
When I compile with eMbedded C++ and include list and stack, he did'nt recognize it so I downloaded STL container, but know the compiler does'nt recognize iostream.h, so I'm trying to find a place where to download this library.

Thanks.
Jul 10, 2008 at 3:20pm
Have you tried just <iostream>. For some I have to just say the name, for others I have to say .h. I don't really understand it.
Jul 10, 2008 at 6:20pm
yes, I've tried both.
It seems like the compiler doesn't have this library at all.
Jul 10, 2008 at 6:26pm
If your trying to code for an embedded system, you will need a compiler that supports that Embedded OS. Typically this will come with libraries for it.

However, even an embedded device should come with iostream (no .h, thats depreciated and C, not C++).

If it doesn't then you will most likely need to goto the compiler website and search their forums. Because it may (quite likely) require a specific one just for that OS/Compiler.

List and Stack also shouldn't have the .h, .H is really a C thing and most C++ headers don't use it (e.g the STL doesn't).
Topic archived. No new replies allowed.