Book on Pointers

This is a discussion on Book on Pointers within the C Programming forums, part of the General Programming Boards category; I'm planning to buy a book that has a good explanation of pointers. The C Primer Plus looks lika a ...

  1. #1
    Unregistered
    Guest

    Book on Pointers

    I'm planning to buy a book that has a good explanation of pointers. The C Primer Plus looks lika a possibility. Does anyone have any other recommendations?

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Pointers on C by Kenneth Reek.
    This book is on my highly highly recommended list, read it, learn it, live it

    -Prelude
    My best code is written with the delete key.

  3. #3
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    >Pointers on C
    [good, if inadvertent, pun]

    hmm C / C++ : the Complete Reference [by Herbert Schildt...] and also, if you've coincidentally taken calculus... derivatives/integrals has a likeness to referencing/dereferencing which has a likeness to recursion/unwinding and nesting and etc...
    hasafraggin shizigishin oppashigger...

  4. #4
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Pointers ain't that hard. Just try using a graphics library and you'll redefine "hard".

    example of pointers
    Code:
    int main(int argc,char *argv[])
    {
    	int a = 4;
    	int &b = a;
    	printf("a = %d, b = %d",a,b);
    	a++;
    	printf("\na = %d, b = %d",a,b);
    	b++;
    	printf("\na = %d, b = %d\n",a,b);
    	return 0;
    }
    output :
    a = 4, b = 4
    a = 5, b = 5
    a = 6, b = 6

    that's pretty much all there is too it....but then you have pointers to strings...which are pretty simple
    Last edited by Brian; 02-12-2002 at 01:14 AM.

  5. #5
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    The C Programming Language from Kernighan&Ritchie has also a very good chapter about pointers.

  6. #6
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    Edit by Govtcheez: Now, now Brian, be nice. vVv, in case you were wondering, Brian was expressing his extreme displeasure at your statement.

  7. #7
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    This is a pretty good explanation
    http://pw2.netcom.com/~tjensen/ptr/cpoint.htm

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Please Help!!!!!
    By princssashes in forum C# Programming
    Replies: 2
    Last Post: 04-05-2006, 08:18 AM
  2. Question about book
    By Kaidao in forum C++ Programming
    Replies: 6
    Last Post: 03-20-2006, 02:31 AM
  3. new book about game programming using DirectX
    By Carlos in forum Game Programming
    Replies: 0
    Last Post: 09-20-2005, 08:30 AM
  4. ideas for my C++ book
    By Carlos in forum C++ Programming
    Replies: 41
    Last Post: 01-06-2004, 02:46 AM
  5. Staticly Bound Member Function Pointers
    By Polymorphic OOP in forum C++ Programming
    Replies: 29
    Last Post: 11-28-2002, 12:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21