need help in debugging some errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JavaNme
    New Member
    • Sep 2007
    • 1

    need help in debugging some errors

    I need someone to debug the following errors for me, so that i can run the program.

    1>------ Build started: Project: TheBankProject, Configuration: Debug Win32 ------
    1>Compiling...
    1>BANK.cpp
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(161) : error C2043: illegal break
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(188) : error C2043: illegal break
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(195) : error C2043: illegal break
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(200) : error C2043: illegal break
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(231) : error C2065: 't_accno' : undeclared identifier
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(282) : warning C4172: returning address of local variable or temporary
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(304) : warning C4172: returning address of local variable or temporary
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(325) : warning C4172: returning address of local variable or temporary
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(346) : warning C4172: returning address of local variable or temporary
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(362) : error C2065: 't_dob' : undeclared identifier
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(520) : error C2079: 'd' uses undefined struct 'initial::modif y::date'
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(521) : error C3861: 'getdate': identifier not found
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(522) : error C2228: left of '.da_day' must have class/struct/union
    1> type is 'int'
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(523) : error C2228: left of '.da_mon' must have class/struct/union
    1> type is 'int'
    1>c:\documents and settings\alan\m y documents\visua l studio 2005\projects\t hebankproject\b ank.cpp(524) : error C2228: left of '.da_year' must have class/struct/union
    1> type is 'int'
    1>Build log was saved at "file://c:\Documents and Settings\alan\M y Documents\Visua l Studio 2005\Projects\T heBankProject\D ebug\BuildLog.h tm"
    1>TheBankProjec t - 11 error(s), 4 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Last edited by sicarie; Mar 12 '08, 04:05 AM. Reason: Full code removed
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    JavaNme-

    It is ridiculous to expect someone to sort through several hundred lines of someone else's code in their free time just to find an error.

    Please look at the error the compiler gives you, step through your code, isolate the 5-10 lines you are having trouble with, and post those.

    Thanks

    Comment

    Working...