Page 1 of 1 [ 10 posts ] 

Cyanide
Veteran
Veteran

User avatar

Joined: 24 Sep 2006
Age: 35
Gender: Male
Posts: 2,003
Location: The Pacific Northwest

09 Sep 2008, 7:58 pm

I'd prefer something free that's online, but books would work too.



Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 34
Gender: Male
Posts: 12,518
Location: Room 101

09 Sep 2008, 8:03 pm

http://www.cs.cf.ac.uk/Dave/C/
http://www.cprogramming.com/
http://www.eskimo.com/~scs/cclass/cclass.html
http://www.lysator.liu.se/c/bwk-tutor.html
http://www.imada.sdu.dk/~svalle/courses/dm14-2005/mirror/c/

The main thing to take away from this: Google is your friend. "Programming in C" gave all of those links even above Wikipedia. They were in the top 5, not counting duplicate links to different parts of the same site.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


coyote
Supporting Member
Supporting Member

User avatar

Joined: 10 Nov 2004
Age: 56
Gender: Male
Posts: 388

09 Sep 2008, 10:12 pm

Me lol!

Lesson one:

void main(void)
{
printf("Hello world!\n");
}

:wink:



ZakFiend
Veteran
Veteran

User avatar

Joined: 12 Sep 2007
Age: 44
Gender: Male
Posts: 547

09 Sep 2008, 11:16 pm

Cyanide wrote:
I'd prefer something free that's online, but books would work too.


C++ primer plus by stephen prata, best for beginners like yourself, he has excellent writing skills and can communicate like no other person I have read.



iceb
Veteran
Veteran

User avatar

Joined: 26 Apr 2007
Age: 67
Gender: Female
Posts: 1,562
Location: London UK

09 Sep 2008, 11:58 pm

If you can afford it - A worthy book:

Kernighan, Ritchie - The C Programming guide
ISBN 0-13-110362-8

But as said there is an abundance of free material on the web


_________________
Wisdom must be gathered, it cannot be given.


khelben1979
Toucan
Toucan

User avatar

Joined: 27 Aug 2008
Age: 45
Gender: Male
Posts: 294
Location: Sweden

10 Sep 2008, 11:53 am

What about YouTube? Here's a link.



ZakFiend
Veteran
Veteran

User avatar

Joined: 12 Sep 2007
Age: 44
Gender: Male
Posts: 547

10 Sep 2008, 7:14 pm

Cyanide wrote:
I'd prefer something free that's online, but books would work too.


check out http://www.gamedev.net/

Tonnes of programmers there.



Kiski
Yellow-bellied Woodpecker
Yellow-bellied Woodpecker

User avatar

Joined: 31 Dec 2007
Age: 34
Gender: Male
Posts: 57
Location: Galifrey

kxmode
Supporting Member
Supporting Member

User avatar

Joined: 14 Oct 2007
Gender: Male
Posts: 2,613
Location: In your neighborhood, knocking on your door. :)

12 Sep 2008, 1:06 am

Quote:
I need a good source to learn C programming


I like the play on wording there. :)


_________________
A Proud Witness of Jehovah God (JW.org)
Revelation 21:4 "And [God] will wipe out every tear from their eyes,
and death will be no more, neither will mourning nor outcry nor pain be anymore.
The former things have passed away."


kxmode
Supporting Member
Supporting Member

User avatar

Joined: 14 Oct 2007
Gender: Male
Posts: 2,613
Location: In your neighborhood, knocking on your door. :)

12 Sep 2008, 1:10 am

Code:
for (i=1; i<=10; i++) {
      printf(i);
}


I believe this is a basic loop that will print the value of i up to 10 starting at 1. That is really close to how it's done in Flash ActionScript (my second language)...

Code:
for (i=1; i<=10; i++) {
      trace(i);
}


_________________
A Proud Witness of Jehovah God (JW.org)
Revelation 21:4 "And [God] will wipe out every tear from their eyes,
and death will be no more, neither will mourning nor outcry nor pain be anymore.
The former things have passed away."