LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2007, 03:17 PM   #1
Trizon
Member
 
Registered: Apr 2005
Distribution: Source Mage GNU Linux
Posts: 43

Rep: Reputation: 15
Learning C Programming


I want to start learning C again. I did this over 10 years ago, but did not like C, so I moved on. However, there is an operating system that I am very interested in writing applications for and the main language available right now is C.

I used to have the very popular C book by Kerninghan and Richie, but I lost it. I really don't want to buy this book again anytime soon. Are there any nice C learning information sources online that I can use until I can buy the book again?
 
Old 03-29-2007, 04:14 PM   #2
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
www.google.com->C tutorial

If you just want a "reference book":
http://cppreference.com/

It even has a search plugin for firefox (cf mycroft site). Extremely useful!

And if you speak french:
http://www.siteduzero.com/
 
Old 03-29-2007, 04:36 PM   #3
larrynewt
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
For online, I like http://www.le.ac.uk/cc/tutorials/c/. Unfortunately, my favorite site (www.functionpointer.org) seems to be dead.
For physical books, K&R is good. IMHO the book by Darnell and Margolis is even better.

Last edited by larrynewt; 03-29-2007 at 04:39 PM.
 
Old 03-30-2007, 04:05 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
don't forget of course, all the std libraries and functions
are man pages also. So you don't really need a
full blown reference manual.
 
Old 03-30-2007, 04:39 AM   #5
[KIA]aze
Member
 
Registered: Jun 2006
Distribution: Debian, Ubuntu, Windows XP
Posts: 146

Rep: Reputation: 16
Wow, I never knew I could look up function prototypes with man.
I always thought man pages were only for unix commans and installed progs.
Thanks for the tip.
Now I know where to get help when offline.
 
Old 03-30-2007, 05:02 AM   #6
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
yeah loads of stuff (on solaris anyway)
eg man limits brings up <limits.h> as a man page.
 
Old 03-30-2007, 10:05 AM   #7
son_t
Member
 
Registered: Sep 2006
Posts: 49

Rep: Reputation: 15
Quote:
Originally Posted by Trizon
I want to start learning C again. I did this over 10 years ago, but did not like C, so I moved on. However, there is an operating system that I am very interested in writing applications for and the main language available right now is C.
Yeah, Linux is the platform... just install GCC and you are away!

I revisited C programming again from having to do so 10 years ago... what I learnt then about C was all forgotten. I had to start again, etc memory allocation, structures, binary trees, etc...

All very interesting stuff... keeps me busy at work during work hours
 
Old 03-30-2007, 12:08 PM   #8
Trizon
Member
 
Registered: Apr 2005
Distribution: Source Mage GNU Linux
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks guys!
There are some nice links there. I really like the one from larrynewt. It looks like a nice little course on C.

The applications I plan to write will be for AROS or Amiga Research Operating System. Even though I have been using Linux for many years, I have never let go of my Amiga roots. So helping with AROS is very interesting to me. It's open source and Amiga related, so I like it a lot!
http://www.aros.org

But I am running it as a hosted environment in Linux, so I will be using Linux to develop. The C compiler is geared towards AROS though.
 
Old 03-30-2007, 12:37 PM   #9
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
It helps to learn when u have goals in mind such as you have.
Be patient.
Good luck.
 
  


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
learning programming nin881 Programming 13 10-19-2005 12:17 AM
C programming learning introuble Programming 7 01-03-2005 11:55 AM
Help with learning drivers programming! fbarre Programming 1 09-16-2003 12:10 PM
Help with learning drivers programming! fbarre Linux - General 6 09-13-2003 06:50 PM
learning game programming FLuff_Suit Programming 2 05-07-2002 09:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:49 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