unable to find iostream

Write your question here.
when i compile c++ i was unable to find the header but when i use stdio.h it works of it's the wrong compiler right? so how would i change the compiler? i'm using turbo c++ 3.1
i'm using turbo c++ 3.1

please change this asap, it's horribly out of date. Code::Blocks is a more up-to-date option

check the .extension of your file, is it .c or .cpp? You need the latter to find iostream
.cpp
i ask google for the latest version of c++ and that appear so i downloaded it darn google.! i'm using windows 10 in a laptop
Last edited on
what's the latest c and c++ version anyway is it free?
C is not C++. Both languages are defined by international standards, developed by committee. There are many free implementations of both standards. So yeah, it's free.

The latest standard was published in 2014. The formal name of the language standard doesn't really matter, you can call it C++14.

You're looking for a compiler, which is a computer program that takes plain-text (called source code) and transforms it into either a computer program or error messages.

If you're on Windows, then I recommend getting this
https://www.visualstudio.com/vs/cplusplus/

Like Turbo C++, Visual Studio is not only a compiler, but a full "IDE". Along with a compiler, an IDE will also contain other development tools, like a text editor and debugger. It puts everything in one place.
Last edited on
what shoudl i do with my own c++ 3.2? would i just uninstall it.?
c++ 3.2 in ms-dos box it's giving me headache.!
Yes. Get rid of it. You shouldn't need to have a DOS emulator on your computer in 2017!
can still run c programs on my c++ compiler>? hehehe
DOS environment is no go. A more friendly environment you could be looking for is Dev C++, and it is totally free.
If you do consider the latter suggestion, make sure it is the Orwell version. It is getting a little outdated now, but still several decades newer than the antique Turbo C++.
http://orwelldevcpp.blogspot.co.uk/

can still run c programs on my c++ compiler>?

Yes. Much C code is directly compatible with C++. Even if it's not, the compiler can be set to either C or C++ mode.
I will second mbozzi here and say that you should use Visual Studio on Windows. It is a large IDE, but it plays very nicely with Windows. It also plays nicely with std::thread. Visual Studio is free, and I personally happen to find its debugging features fantastic.
I would say that Visual Studio is pretty user-friendly, unless you need to do something complicated. That and many of the tutorials out there that are targeted at Windows will do it using Visual Studio (at least that was true of basically all of the OpenGL guides I used a while back).

Please avoid archaic C++ environments/tutorials, like Turbo. I'm not sure I'd recommend DevC++ either, since it's so infrequently updated. If you must use it, use the one Chervil linked to.
down loading process is like a snail pace in is this normal for visual studio window?
Topic archived. No new replies allowed.