Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using C++ in Borland C++ 3.0

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi..

i'm trying a simple C++ program in Turbo C++ 3.0

i have 3 files

accounts.h Class headder File for acc_cust

accfunc.cpp - classs implemntation for acc_cust has #include for accounts.h

accounts.cpp - main program has #include for accounts.h

when i try to run it spurts out "underined symbol cust_acc::setup and all the functions i use in the accounts.cpp file.

i tried openning a project and add all files there, but then it says "_main defined in module accounts.cpp"

 
Your main module must exist in exactly one of the files u r using in the project. Check that all ur files u r including lie either in the same directory or they are present in the path specified in Include Directory variable.

Hope that Helps.
Regards,
SwapSawe.s-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top