Struct Problem (Begginer)

This is a discussion on Struct Problem (Begginer) within the C Programming forums, part of the General Programming Boards category; Hi everyone, here is my problem: I am creating a database that has an array of structures in it. My ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    1

    Struct Problem (Begginer)

    Hi everyone,

    here is my problem:

    I am creating a database that has an array of structures in it.

    My question to you is how can i "point" to a specific structure in the array so that i can print to the screen that particular structure and it's contents?

    ex.

    Person structure definiton{}

    printSpecificStructure()
    {
    printf("What person would you like to see info on?");
    //
    //
    }

    What can I do to after the printf statement??

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    247

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with linked list sorting function
    By Jaggid1x in forum C Programming
    Replies: 6
    Last Post: 06-02-2009, 02:14 AM
  2. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 05:55 PM
  3. Replies: 22
    Last Post: 12-23-2008, 12:53 PM
  4. Replies: 16
    Last Post: 10-29-2006, 04:04 AM
  5. very weird problem (pointers I think)
    By hannibar in forum C Programming
    Replies: 2
    Last Post: 10-11-2005, 06:45 AM

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