Can anyone suggest an IDE for C/C++ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can anyone suggest an IDE for C/C++ ?

I downloaded Code Blocks and written a program but while compiling it shows error for iostream as no such file or directory I installed minGW and compiled but still shows error. But I don't won't traditional Turbo C++ because it is old and doesn't support new thinks. Anyone knows best IDE for C++ in Windows 7....

15th Jul 2017, 9:46 AM
Alim Ansari
Alim Ansari - avatar
9 Answers
+ 6
looks like codeblocks was not setup correctly. try uninstalling it and installing a version that includes mingw. http://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe
15th Jul 2017, 4:50 PM
jay
jay - avatar
+ 6
try visual studio.
15th Jul 2017, 9:48 AM
jay
jay - avatar
+ 5
@Alim :- When i used code Blocks i had this problem too... Follow this:- 1. Open Code Blocks 2. Start a new project :- Console application 3. In the left pane you will see the project name with a minus or plus sign on the left of the name of the project. 4.Click on that 5. A new folder-type named sources appears , Again click on the minus sign in the left of Sources. 6. You will see a file called :-. main.cpp 7. It has the same Hello World code which you wrote 8. Just Build and Compile that...Boom Your Code Works /* The basic thing is you don't write the code in the project folder but you have to write it in a .cpp file */
16th Jul 2017, 12:39 AM
Nikhil
Nikhil - avatar
+ 4
CodeBlocks is good..I think you may show us your code
15th Jul 2017, 10:06 AM
Nikhil
Nikhil - avatar
+ 2
The code: #include<iostream> using namespace std; int main() { cout<<"hello world "; return 0; } Error: iostream : No such file or directory
15th Jul 2017, 4:24 PM
Alim Ansari
Alim Ansari - avatar
+ 1
you can try borland c++ or visual studio
15th Jul 2017, 10:33 AM
Ridwan Ahmad Maarif
Ridwan Ahmad Maarif - avatar
+ 1
codelite
15th Jul 2017, 7:25 PM
Andrea Simone Costa
Andrea Simone Costa - avatar
+ 1
@Nikhil I got that but now showing Target uses an invalid compiler run aborted What about C-Free 5.0, is it better than Code Blocks???
16th Jul 2017, 5:03 AM
Alim Ansari
Alim Ansari - avatar
0
NetBeans with C/C++ plugin (you can download it from its store).
15th Jul 2017, 5:26 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar