ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Eclipse + CDT will indeed do the trick. Eclipse should detect and use gcc, if you have it installed. There is also Code::Blocks, which visually looks more like VC++. It will also use your gcc and gdb. I personally prefer Code::Blocks, but it's a matter of taste.
Eclipse is slower than C::B, but is also way more stable. C::B is still under heavy development.
I think most people will suggest you use Anjuta. I have little experience with it, so I'll let others comment on it.
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
I'm currently using Ubuntu 7.10 and I have decided to start programming in C/C++.
Just starting out, why don't you learn the old fashioned way first without using a GUI. Use the command line tools: vi, gcc, gdb, make, etc. Do some command line stuff before graduating to point-n-click.
Its a book on programming Unix style.
As an ex-windows myself I was initially puzzled by the strange concept of modularity I kept on meeting.
The thing is that the writing of a program is divided up between its component task and then each of these has a program that does that and does that well.
If you want something a bit speadier to work with than straight gcc though, you can automate that with another command line program called make.
objects = one.o two.o three.o
g++ $(objects) -o program
g++ -c $<
This will compile 'one.cpp' 'two.cpp' and 'three.cpp' into 'program'
NOTE: g++ is gcc running in C++ mode (gcc actually automates more programs, for modularities sake)