Sinisterly
IDE For C/C++ Linux - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Computers (https://sinister.li/Forum-Computers)
+--- Forum: Operating Systems (https://sinister.li/Forum-Operating-Systems)
+--- Thread: IDE For C/C++ Linux (/Thread-IDE-For-C-C-Linux)

Pages: 1 2


IDE For C/C++ Linux - Abhilash_26 - 02-06-2014

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)


RE: compiler for c/c++ for linux - Ligeti - 02-07-2014

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


RE: compiler for c/c++ for linux - Abhilash_26 - 02-08-2014

(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:


RE: compiler for c/c++ for linux - Ligeti - 02-08-2014

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


RE: compiler for c/c++ for linux - Abhilash_26 - 02-08-2014

(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:


RE: compiler for c/c++ for linux - Ex094 - 02-08-2014

You should Definitely try Code::Blocks, It's by far the best IDE I've used for C++ on Linux..


RE: IDE For C/C++ Linux - Abhilash_26 - 02-09-2014

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:


RE: IDE For C/C++ Linux - Ex094 - 02-09-2014

(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?


RE: IDE For C/C++ Linux - Abhilash_26 - 02-09-2014

Yup!! i saved it ... but the actual problem is it is not recognizing conio...!! :Embarrassed:


RE: IDE For C/C++ Linux - Ligeti - 02-09-2014

Because conio.h is not a standard library... You will have to include it in you project manually or to the environment!

Thanks.