Today I’ll tell you about how to do C programming and C++ programming on your Windows x64 PC or laptop.I’d suggest using Dev C++. In that you can choose compiler version- 32bit or 64bit.But there’s one problem with Dev C++. That I’ll tell you how to solve.
In older Borland Turbo C++ IDE, we could directly write a simple ‘Hello World’ C++ program like below-
But when I tried the same code in Dev C++, I got the following error- 1 21 C:\Users\cullen_boyy_\Documents\Dev C++\Hello World.cpp [Error] iostream.h: No such file or directory – compilation terminated.
You need to do little modification in the code to run it on Dev C++. I used the Dev C++ v5.8.3. The updated code is below.
using namespace std;
And it ran successfully!