Thread: Can you recommend...

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    16

    Can you recommend...

    I picked up the Sams "Teach yourself C in 21 Days", and I am finding it rather useless from a beginners standpoint because its geared around Windows and I don't use Windows.

    The first "Type & Run" program (print_it) would not compile at all as it stood and took me most the night googleing to even figure out how to get it to compile, then, it seg faulted.

    I would really like some experts advice on what text I should get that is not specific to Windows/Dos/Microsoft and more spicific to Linux/Unix/GNU.

    I appreciate it!!!

    Joe

  2. #2
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875

    Advanced Li nux Programming

    It is a free ebook and has some great information in it....it won't teach how to program in C but it will show you how to use C to get some real-world done.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  3. #3
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    C is a portable language. If you only write standard C, it should run on any platform (in theory at least, sometimes not true in practice). There is really no reason for a beginner book to go non-standard (or be platform-specific). I can think of a few explanations - 1) the book is ancient (for programming, at least get a book published within 10 years or so), 2) the author doesn't know better, or 3) he works for Microsoft.

    Most good beginner books are platform-neutral. They may only teach you how to install a compiler on one platform, but the code examples should work on all platforms.

    There is a books recommendation thread.
    C Book Recommendations

  4. #4
    Registered User
    Join Date
    Dec 2009
    Posts
    16
    Thanks for the replies!!!! I will check out the C Book Recommendations thread.

    Joe

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Would anyone recommend good network security books?
    By donglee in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-11-2009, 09:11 AM
  2. Recommend a book to me
    By storkus in forum C++ Programming
    Replies: 1
    Last Post: 09-18-2008, 11:07 PM
  3. please recommend C and C++ network library
    By draggy in forum Networking/Device Communication
    Replies: 2
    Last Post: 05-13-2006, 02:56 PM
  4. recommend me...
    By ElastoManiac in forum Networking/Device Communication
    Replies: 3
    Last Post: 11-28-2005, 09:00 AM
  5. look-ahead, recommend function for tic tac toe 5x5
    By portos69 in forum C Programming
    Replies: 2
    Last Post: 11-21-2002, 07:42 PM