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 |
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 :p). Hope this helps. |
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 |
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. |
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. |
C++
Any book by O'Reilly is a great book. I like the Sams "Teach Yourself C++ in 21 days" book too.
|
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 08:31 AM. |