Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im fairly new to programming. My first language learned was, and still is Visual Studio.net, i figured id start with what people believe to be the easy one to get used to concepts. Moving past that id like to be able to write and compile with C++ for linux. I just wanted to know if there are any sites that could help point me in the correct direction in understanding c and some popular compilers with linux. My mandrake os came with emac is that a good one? well any help and input would be nice.
Emacs is an excellent tool for program development. It handles rcs (version handling), auto-indenting that follows your openings and closings of functions, and a gunk more.
The only book I know of for C++ programming would be the thick, blue C++ Primer Plus which can be found here C# I think is a microsoft-derived version of c++ .. ? So I don't know if code created in that language will run on linux. C++ will (duh ).
for a electronic c++ book by Bruce Eckel (there are two volumes, so get both). if you want the solutions to the book (highly recommended) they will only set you back $12 (the book is free of charge).
aside from this there are countless tutorials/hints/books on the net, just toss it into google.
C# is indeed a part of MS .Net programming languages family and is derived from C++ and Java. It's specifically designed for use under the Windows platform but there is a project named "Mono" which allows you to write C# code under Linux.
On the other hand, C++ is the language Linux relies on and most (if not all) Linux distros come with a C++ compiler. You have several choices for C++ IDEs under Linux such as anjuta or KDevelop (the most popular).
There are many sites that can get you started with C++ (doesn't have to be tutorials specifically written for Linux, C++ is the basically the same under both Linux and Window$). Just google for 'C++ tutorials'.
For the beginning you can take a look at one of this sites: 1 , 2 , 3 and some reference for C/C++ here.
Good luck!
KDE has an IDE environment called KDevelop. There is also a QT-designer program with looks a lot like delphi. The C compiler is gcc and the C++ compiler is g++. The tools I've mentioned earlier will use these compilers in the background. There are a couple Linux programming manuals at the www.tldp.org web site. There are also a number of books on learning c for linux in the book store.
If you know C already, you may be in for a bit of a surprise. Because the C language was written to re-write a very early version of Unix, the C standard libraries were designed for the Unix standard. You will have less that you need to learn fresh.
Thank you for the sites and ideas of where to star. Also thanks for the clarification on C#.
I think im going to grab a book and hop around on the web.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.