LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-20-2004, 11:42 AM   #1
MrPeanut
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Best Way to Learn Linux Programming


Hi... im a newb incase you were wondering

Yes i know, you guys prolly get this a lot but ive spent some time and money into wanting to learn linux, and was hoping if you guys could give me a little edge

I want to learn Programming, and i also want to learn Linux, and maybe eventually make Linux Programs

Ive tooled around with linux before, but only with the (I look like Windows) distros. Ive also bought a book to learn how to program C and C++, and also a book CALLED Linux Programming.

I want to know if you think it would be better to learn how to program C/C++ before i get into Linux (I have Visual C++ for windows) or is there a better way to learn how to program efficiently?

Thanks in advance
 
Old 07-20-2004, 11:48 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
It all depends on what you want to program. If you want to start creating modules for the kernel then you'll have to learn C/C++. If you just want to create some scripts to automate system tasks then you can learn bash scripting. It depends what you want to program exactly.

As far as knowing C/C++ before getting into linux, you really don't have to know anything about those languages just to use linux. Yes the kernel is written in them but you rarely have to hack a modules source file to get things going. Mr. Mortenson and Mr. Torvalds have been nice enough to do all this programming for us and have left us with the rest of the stuff like creating our own system scripts.
 
Old 07-20-2004, 01:49 PM   #3
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hi

I programmed in C for a while and I am now being forced to shift to C++ due the fact that I want to use some GUI libraries in Linux. I would recommend focussing almost exclusively on C++ - all the really nice stuff (like KDE/GNOME and most new libraries) seem to be all done in C++. For example, if you want to create KDE programs you absolutely must use C++. If I were you, I'd skip C in total and go totally objective with ++. I think that is the best road to take in programming under Linux, if your choice is C or C++.
 
  


Reply



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
What is the best programming language to learn jax8 Programming 25 04-04-2010 10:21 AM
Learn linux programming under windows beep_beep Linux - Software 5 05-26-2005 07:12 AM
How to learn programming in linux my-unix-dream Linux - Newbie 3 04-19-2005 03:19 AM
where i can i learn perl programming halovivek Programming 5 09-22-2003 11:33 AM
Want to learn programming. ddpicard Programming 3 11-09-2001 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 PM.

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