Author Topic: Free C textbook.  (Read 4594 times)

0 Members and 1 Guest are viewing this topic.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Free C textbook.
« on: November 24, 2014, 02:58:52 am »
Hey guys, my professor wrote his own textbook for C and I find it very good for beginning/intermediate C programmers.
Some chapters are lacking, but it does an extremely good job compared to other books I've seen.
https://drive.google.com/file/d/0B9EzLx4Z9geMWEZMdUNrZDhzck0


On Page 437, it talks about Huffman Compression, and i thought it was cool and applicable :)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline chickendude

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +90/-1
  • Pro-Riot Squad
    • View Profile
Re: Free C textbook.
« Reply #1 on: November 24, 2014, 03:19:46 am »
The old Site du Zéro had a really nice C tutorial (in French). The name of the site has changed since then, something like OpenClass, but i think you can still download the book.

Thanks for the link, though, Happybobjr. All Google stuff's blocked here but maybe i can hop on a VPN sometime and pick it up.

Offline harold

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 226
  • Rating: +41/-3
    • View Profile
Re: Free C textbook.
« Reply #2 on: November 24, 2014, 03:34:46 am »
I had a look and it makes the same mistake as almost everyone does when discussing Huffman decoding, it only mentions tree-walking.
Tree-walking is a great way to intuitively show that decoding is possible at all, but it's a bad way to actually do it, and actually the code for table-based decoding is shorted and simpler (once you understand the idea).
Can we send in suggestions?

nice book overall.
Blog about bitmath: bitmath.blogspot.nl
Check the haroldbot thread for the supported commands and syntax.
You can use haroldbot from this website.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Free C textbook.
« Reply #3 on: November 24, 2014, 03:47:03 am »
Ya! Feel free to send suggestions.
(we get half a point extra cred for corrections etc XD)

Remember this is class specific though, so a suggestion, rather than correction, may not be applicable.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Aspiring

  • LV3 Member (Next: 100)
  • ***
  • Posts: 81
  • Rating: +5/-0
  • The only source of knowledge is experience-Einsten
    • View Profile
Re: Free C textbook.
« Reply #4 on: November 24, 2014, 06:55:15 pm »
I think I found a typo.  In 21.3, it is written: "The third argument is the name of a function." I think this should be something like "The third argument is the pointer to a function."

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Free C textbook.
« Reply #5 on: November 25, 2014, 09:49:34 am »
I like the goals your teacher is trying to achieve here. You have to not only master C, but also master the right tools used to compile C. It's all about efficiency and everyone will like you for your efficient methods.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.