News:

Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!

Main Menu

[RECOMMENDATION] C Book

Started by deadly7, November 04, 2005, 12:12:27 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

deadly7

Currently I'm reading "C Primer Plus", but I was wondering what books you guys would recommend, since some of you have been programming in C for a few years, as opposed to a few days.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Quik

It depends what type of programming you're wanting to look at. I have a feeling that's a requirement before tmp recommends anything.

I think The C Programming Language by Brian W. Kernighan and Dennis M. Ritchie is worth a look.
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

deadly7

Well right now, I'm just looking for the general scope on C.. after I get that much, I'll start to think about some projects I want to do. I already have a couple (a Gaim plugin being one of  them) that I have in mind, but obviously lack the talent.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

trust

C++ How to Program (Not C, but eh) by Deitel & Deitel. DarkVirus recommended that to me about a year ago. I have an old version of the book, and some other C books if you'd want to (probably not though) buy from me. :P

Joe

<TehServer> !eBooks 0134436989 [Prentice Hall PTR] (Bil Lewis) Threads Primer - A Guide to Multithreaded Programming.pdf

Multithreading. Hm.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


iago

Multithreaded programming in C (on Linux) is easy++.  On Windows, it's painful. 

Incidentally, if his goal is to program a Gaim plugin, I don't recommend learning C++.  It's better to learn C anyway. 

A book that I'd recommend is Programming Pearls.  I forget the author, but can dig it up if necessary.  It doesn't teach you the language, but it does teach you some nice tricks about how to program well.

deadly7

Quote from: OG Trust on November 04, 2005, 06:14:44 AM
C++ How to Program (Not C, but eh) by Deitel & Deitel. DarkVirus recommended that to me about a year ago. I have an old version of the book, and some other C books if you'd want to (probably not though) buy from me. :P
What other C books do you have?

Quote from: Joe[e2] on November 04, 2005, 07:47:43 AM
<TehServer> !eBooks 0134436989 [Prentice Hall PTR] (Bil Lewis) Threads Primer - A Guide to Multithreaded Programming.pdf

Multithreading. Hm.
eBooks = lame.

Quote from: iago on November 04, 2005, 08:43:07 AM
Multithreaded programming in C (on Linux) is easy++. On Windows, it's painful.

Incidentally, if his goal is to program a Gaim plugin, I don't recommend learning C++. It's better to learn C anyway.

A book that I'd recommend is Programming Pearls. I forget the author, but can dig it up if necessary. It doesn't teach you the language, but it does teach you some nice tricks about how to program well.
We went over advantages/disadvantages of C and C++ in the last thread I made in this forum, which is why I kept the book.

Hm, Programming Pearls.. I'll look around trying to find it. Thanks.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

MyndFyre

I liked C for Dummies, both vols.  Good times! :D
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

deadly7

#8
Quote from: MyndFyrex86] link=topic=3579.msg36612#msg36612 date=1131125735]
I liked C for Dummies, both vols. Good times! :D
Gross, I hate * For Dummies.

(MF: Fixed BBC)

[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
[17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Warrior

C++ for dummies is a great book. Try it.

Learn C first, C++ offers useless OOP garbage ontop of C and often makes the programmer
forget how to use practical solutions instead of complicating a simple task. Later once
you grasp C learn C++ to extend C.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Joe

QuoteeBooks = lame.

eBooks = free.
Books = expensive.

if(like(eBook) == true) {
  eBook.buy;
}else{
  eBook.trash;
}


You know C, I'm sure you can figure out what that means.

See if its worth anything first, before going out and buying it.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


MyndFyre

Quote from: Joe[e2] on November 04, 2005, 05:05:12 PM
if(like(eBook) == true) {
  eBook.buy;
}else{
  eBook.trash;
}



c:\Documents and Settings\robp.MINNOW\My Documents\Visual Studio Projects\Testbed\Testbed\Testbed.cpp(27) : warning C4551: function call missing argument list
c:\Documents and Settings\robp.MINNOW\My Documents\Visual Studio Projects\Testbed\Testbed\Testbed.cpp(29) : warning C4551: function call missing argument list


I think warnings are entirely too forgiving.  Of course, that's why you turn on the "Treat Warnings as Errors" switch.  :)
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

Warrior

Go to your local library, mine has tons of programming books.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Joe

Warrior, congrats on living in the one town in the US with programming books. =p

MyndFyre, I'm sure you're well aware that you need to create an eBook class. =)
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


iago

Quote from: Joe[e2] on November 04, 2005, 05:05:12 PM
QuoteeBooks = lame.

eBooks = free.
Books = expensive.

if(like(eBook) == true) {
  eBook.buy;
}else{
  eBook.trash;
}


You know C, I'm sure you can figure out what that means.

See if its worth anything first, before going out and buying it.

You shouldn't use "true" in C, it's not standard.  TRUE is better. 

Also, you shouldn't access class members directly.  You should run functions.  But you aren't actually doing anything with your member variables, so..

Also, I much prefer physical books.  The only time I use eBooks is for textbooks that I never intend to read.