Thread: record pointers

  1. #1
    Registered User
    Join Date
    Aug 2001

    record pointers

    what do they do I dont get it

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    There is no such thing as a "record" in C. There is in pascal. The term "record" generally refers to a group of items with a fixed format or specification.

    A pointer is a variable that contains an address of a specific type of variable.

    In this case, a "record pointer" would be a pointer to whatever your "record" is.

    Something like:

    struct record { stuff here...

    struct record myInstance, *myPointer;

    myPointer = &myInstance;

    Thus, you can access "myInstance" through the pointer to it.

    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with binary file c++
    By lucky_mutani in forum C++ Programming
    Replies: 4
    Last Post: 06-05-2009, 09:24 AM
  2. Request for comments
    By Prelude in forum A Brief History of
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  3. Whats wrong with this code?
    By havoq93 in forum C++ Programming
    Replies: 23
    Last Post: 11-15-2002, 01:35 PM
  4. Modifying A Record In Needed
    By Conquerer in forum C++ Programming
    Replies: 2
    Last Post: 09-28-2001, 09:34 PM