Thread: Struct Problem

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    3

    Unhappy Struct Problem

    I have to write a program using structs but am having real hard time with it. It is about a company database which lets a user enter a new client, edit existing client and display all current clients. I have tried to write this program in every possible way I can, but for some reason it doesn't work for something or the other. If anybody has a code for this program please email to me at [email protected]. Thank You!!!

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    63
    FYI

    i don't think thats going to get you too far 'round here.. trust me.. LOL

    try posting methods you've tried and we'll help solve them with you however we're not going to solve them for you.

    GL
    SS3X

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Here is the code:

    Code:
    struct Client {
    
    //...your code goes here...
    
    };
    
    
    void Add( struct Client client ) {
    
    //...your code goes here...
    }
    
    
    
    void Delete( struct Client client ) {
    
    //...your code goes here...
    }
    
    
    
    void Display( struct Client client ) {
    
    //...your code goes here...
    }

    Post some code brother

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Struct File and array problem Please help
    By theprogrammer in forum C Programming
    Replies: 17
    Last Post: 04-02-2009, 08:05 AM
  2. memory issue
    By t014y in forum C Programming
    Replies: 2
    Last Post: 02-21-2009, 12:37 AM
  3. Link List math
    By t014y in forum C Programming
    Replies: 17
    Last Post: 02-20-2009, 06:55 PM
  4. Replies: 22
    Last Post: 12-23-2008, 01:53 PM
  5. Global Variables
    By Taka in forum C Programming
    Replies: 34
    Last Post: 11-02-2007, 03:25 AM