Thread: I Need Help

  1. #1
    Registered User
    Join Date
    Jun 2002

    Question I Need Help

    // customerdata.h: Definition of the data struction file
    // Kyle Johnson
    // May 10th, 2002

    #ifndef CUSTOMERDATA_H
    #define CUSTOMERDATA_H

    int main ()
    struct customerData
    int customerNumber;
    char lastName [15];
    char firstName [15];
    double balance;

    here is my init file for my final project.....i dont know what is wrong with just says in the error:
    Link Error : Undefined symbol: _main in Project: final.mcp, target: C++ Console App Debug maincrt.obj

    please help would be much appreciated

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Why do you have main in a header file?

    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed