Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-12-2005, 10:36 PM   #1
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Rep: Reputation: 30
C# / C++ Where to start?


Im fairly new to programming. My first language learned was, and still is Visual, 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,
Old 02-13-2005, 01:28 AM   #2
Registered: Jan 2004
Location: USA
Distribution: macOS, OpenBSD
Posts: 669

Rep: Reputation: 34
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.
Old 02-13-2005, 01:59 AM   #3
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
look around the net and you'll come up with somethin, try

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:
Old 02-13-2005, 02:03 AM   #4
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
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.
Old 02-13-2005, 02:19 AM   #5
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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 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.
Old 02-13-2005, 03:19 AM   #6
Registered: Sep 2004
Location: Eau Claire, WI
Distribution: Fedora Core 12
Posts: 91

Rep: Reputation: 15

Any book by O'Reilly is a great book. I like the Sams "Teach Yourself C++ in 21 days" book too.
Old 02-13-2005, 12:44 PM   #7
Registered: Jul 2004
Location: Rochester, NY
Distribution: Fedora9::FreeBSD7.1
Posts: 296

Original Poster
Rep: Reputation: 30
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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 02:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 08:53 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration