Login Register






IDE For C/C++ Linux filter_list
Author
Message
IDE For C/C++ Linux #1
Hello all,
i've been using Turbo c++ compiler for c and c++ programs in Windows 7...
recently, i switched to ubuntu... i want a similar compiler program for linux but i got gcc and g++ which i've to use from terminal.... i don't want it.... is there any similar compiler as turbo c++ (i googled but not found), i used geany and codeblocks for ide's.....
and the second favour i want to ask is what is the difference of writing c on turbo c++ to gcc/g++ in linux (a header file issue or what)

Reply

RE: compiler for c/c++ for linux #2
You are looking for a C++ IDE (not a compiler), check these:
- Anjuta
- Code::Blocks
- Eclipse CDT
- CodeLite
- Geany
- KDevelop
- NetBeans C/C++ pack
- MonoDevelop

Or just search for "C++ IDE for linux", I personally don't use IDEs but if I had to I would choose Eclipse or NetBeans (for no professional reason)

About your second question, well... as I rememeber, Turbo C++ have some customized libraries, which is not a bad thing of course, the most important thing is that both support standard C/C++ (C++0x or C++11) (which I am sure they do)

Thanks
[Image: wvBFmA5.png]

Reply

RE: compiler for c/c++ for linux #3
(02-07-2014, 06:39 PM)Ligeti Wrote: You are looking for a C++ IDE (not a compiler), check these:
- Anjuta
- Code::Blocks
- Eclipse CDT
- CodeLite
- Geany
- KDevelop
- NetBeans C/C++ pack
- MonoDevelop

Or just search for "C++ IDE for linux", I personally don't use IDEs but if I had to I would choose Eclipse or NetBeans (for no professional reason)

About your second question, well... as I rememeber, Turbo C++ have some customized libraries, which is not a bad thing of course, the most important thing is that both support standard C/C++ (C++0x or C++11) (which I am sure they do)

Thanks
Thanks for your help! :Thumbs-Up:
but i already know that... i want a compiler (if there is other than gcc/g++) not IDE's because i am actually using it.For second problem is that if we define for e.g. #include<iostream.h> in turbo c++ what is the difference that i have to remove .h to compile in g++??how much g++ is different from turbo c++ in syntax..... :Confused:

Reply

RE: compiler for c/c++ for linux #4
Ah OK, maybe I misunderstood...

No I don't know of another C++ compiler for Linux (why not just use what everyone else are using... GCC/G++), anyway this is not my business :p (maybe you are thinking "oh dear this guy talks a lot"), and you are right lol

Here is a good list to start with (in case you didn't see it yet): http://en.wikipedia.org/wiki/List_of_compilers

Your second question is ... I think easy to answer:
In C we MUST add the .h part (file extension), in C++ we don't, but we could (it's optional I think...)!

Compilers SHOULD NOT differ in handling the syntax, because the languge (C/C++ standards f.e. C++11) is what define the syntax/grammar... unless if it is Microsoft of course, they always have to screw up things with thier "code-secure-phobia"... anyway!

Please excuse my lame sense of humor, and my horroble English...

Thanks
[Image: wvBFmA5.png]

Reply

RE: compiler for c/c++ for linux #5
(02-08-2014, 01:26 AM)Ligeti Wrote: Ah OK, maybe I misunderstood...

No I don't know of another C++ compiler for Linux (why not just use what everyone else are using... GCC/G++), anyway this is not my business :p (maybe you are thinking "oh dear this guy talks a lot"), and you are right lol

Here is a good list to start with (in case you didn't see it yet): http://en.wikipedia.org/wiki/List_of_compilers

Your second question is ... I think easy to answer:
In C we MUST add the .h part (file extension), in C++ we don't, but we could (it's optional I think...)!

Compilers SHOULD NOT differ in handling the syntax, because the languge (C/C++ standards f.e. C++11) is what define the syntax/grammar... unless if it is Microsoft of course, they always have to screw up things with thier "code-secure-phobia"... anyway!

Please excuse my lame sense of humor, and my horroble English...

Thanks
Very well said.... :HeartEyes:
Thanks... :Smile: i am satisfied. this post can now be closed. :Ambivalent:

Reply

RE: compiler for c/c++ for linux #6
You should Definitely try Code::Blocks, It's by far the best IDE I've used for C++ on Linux..
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: IDE For C/C++ Linux #7
Sir ! my problem is actually errors when using gcc/c++ compilers.
e.g.
this is a simple program of c++
Code:
#include<iostream> #include<conio> void main() { clrscr(); cout<<"Hello C++"; getch(); }

compiling/building in code::blocks...
/home/abhilash_26/ccpp/Untitled1.cpp|2|fatal error: conio: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|
i cannot compile like i do in turboc++ in windows... :Cry:

Reply

RE: IDE For C/C++ Linux #8
(02-09-2014, 04:44 AM)Abhilash_26 Wrote: Sir ! my problem is actually errors when using gcc/c++ compilers.
e.g.
this is a simple program of c++
Code:
#include<iostream> #include<conio> void main() { clrscr(); cout<<"Hello C++"; getch(); }

compiling/building in code::blocks...
/home/abhilash_26/ccpp/Untitled1.cpp|2|fatal error: conio: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|
i cannot compile like i do in turboc++ in windows... :Cry:

Did you save the project before running it?
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: IDE For C/C++ Linux #9
Yup!! i saved it ... but the actual problem is it is not recognizing conio...!! :Embarrassed:

Reply

RE: IDE For C/C++ Linux #10
Because conio.h is not a standard library... You will have to include it in you project manually or to the environment!

Thanks.
[Image: wvBFmA5.png]

Reply