Question:
Where is the iostream file located?
Nope
2007-02-05 14:56:27 UTC
I just installed Microsoft Visual C++ 6.0 on my computer for a C++ class. One of the assignments is to open up the physical IOSTREAM file and see what's actually inside. I searched for the terms iostream, iostream.h, , and #include on my computer, but i got back nothing. Also, I personally searched in the program file called Microsoft Visual Studio, nothing there either. Can someone please give me the adress (as in C:\Program Files.....) for the iostream library? or maybe an idea as to where to look?

also, I'm using Windows XP, if that helps.
Three answers:
anonymous
2007-02-05 15:07:20 UTC
Here is a path on my Visual Studio 8 (2005)



C:\Program Files\Microsoft Visual Studio 8\VC\include



Hope that helps



RJ
csanon
2007-02-06 02:06:22 UTC
I'll make two points worth noting. The first is, when looking for any of the standard library files (like iostream), look for it in the compiler's default include directory. You should see a folder somewhere in the Visual C++ folder for Include, so that's where it is. Because this is Visual C++ 6 (old), it's iostream.h, not iostream. I really recommend getting a modern compiler like MinGW or Visual C++ 2005.



Also, there is a second note worth mentioning. You aren't going to see source code in the iostream file. It has already been compiled and gets linked in when building your code. You will only see the headers, which contains some constant definitions, typedefs, and inlined code.
Amanda H
2007-02-05 23:08:19 UTC
On my system,



c:\Program Files\Microsoft Visual Studio\VC98\Include



E-mail me if you want me to send it to you.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...