ide for c++ programming and how to build make file?
Hello all!
I started a c++ course yesterday. At school the workshop only has windows and the ide there is DEV+... I did my first program but I'd like to work in linux, which is my System at home. (1) Is there any light IDE (not such big as eclipse), similar to DEV but for linux? They told me to use this structure: my_main_prog.cpp (main file), my_functions.cpp (a file containing the functions implementation) and a my_headers.h (which contains the functions prototypes). The problem is that I don't know how to put it all together in linux and compile using g++... I supouse I have to make a makefile. (2) I like vim very much. Anybody knows how or where can I find a simple document to know how to create makefile. I mean "simple" because I'd like to start practicing and focus on coding without spending so much time understanding the development environment. Thanks in advance, Matías |
When I go across to windows I use the 'codeblocks' IDE, which uses mingw
|
Geany
Quote:
(1) offcourse!, linux have a ide light and very easy to use, GEANY, this program is in the repositories. is like c++. =) good luck. |
you can also try KDevelop, Anjuta.
|
If you want to stick with vim and just need a simple make file to compile the program,
here is a set of slides that show how to create one http://linux.starkstate.net/rhartman...dMakefiles.pdf and here are the files for the example make file http://linux.starkstate.net/rhartman...ke-example.tar. |
Thank folks for the info.
Well, I put a wrong title to the thread, but you understood. I started looking to anjuta, but I think it will require me some study of the ide itself. I'll see if I can use vi and ideally be able to create makefile. The document and example will be sure usefull. I'll let you know if I can get my first c++ program compilled in linux. Regards, Matías |
I generally avoid IDEs, but I have found kdevelop to be pretty nice.
|
Thanks again for the info and tips.
Yesterday I was able to make my makefiles and start compilling my firsts c++ little programs. rlhartmann, the pdf was very usefull for me. I just adapted to g++ compiller and worked nice. So, I think I will start learning using vim, and take some time to understand how ide could help later. Using win and Dev at schooll... and linux + vim at home. Nothing like home :) Regards, Matías |
All times are GMT -5. The time now is 10:44 PM. |