Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
02-12-2005, 10:36 PM
|
#1
|
Member
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296
Rep:
|
C# / C++ Where to start?
Hi,
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.
thank you,
fred
|
|
|
02-13-2005, 01:28 AM
|
#2
|
Member
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669
Rep:
|
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  ).
Hope this helps.
|
|
|
02-13-2005, 01:59 AM
|
#3
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
look around the net and you'll come up with somethin, try
www.mindview.net
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.
as for C#, take a look at the Mono project:
www.go-mono.com
|
|
|
02-13-2005, 02:03 AM
|
#4
|
Member
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666
Rep:
|
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!
Looks like _J got ahead of me.
Last edited by harken; 02-13-2005 at 02:07 AM.
|
|
|
02-13-2005, 02:19 AM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
02-13-2005, 03:19 AM
|
#6
|
Member
Registered: Sep 2004
Location: Eau Claire, WI
Distribution: Fedora Core 12
Posts: 91
Rep:
|
C++
Any book by O'Reilly is a great book. I like the Sams "Teach Yourself C++ in 21 days" book too.
|
|
|
02-13-2005, 12:44 PM
|
#7
|
Member
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296
Original Poster
Rep:
|
Thank you,
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.
Thank you for the help and fast replies
fredstar
|
|
|
All times are GMT -5. The time now is 10:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|