473,796 Members | 2,537 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

need help in debugging some errors

1 New Member
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 ==========
Mar 12 '08 #1
1 2070
sicarie
4,677 Recognized Expert Moderator Specialist
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
Mar 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
2359
by: Jerry Polyak | last post by:
Can someone give me a pointer, please. I am getting the following errors: Notice: Undefined index: sender_name in c:\program files\apache group\apache\htdocs\allinone_form.php on line 12 Notice: Undefined index: sender_email in c:\program files\apache group\apache\htdocs\allinone_form.php on line 14
10
2653
by: Beach Potato | last post by:
Dear Y'all: I'm about to start porting a big old project written in anscient version of Delphi to something more stable, robust, supportable and maybe even portable. Since I haven't seriously touched C for large implementations, I'm seeking advice on what to use for development. My ultimate goal is to spend as less time on it as possible. I'll be writing it in Windows 32-bit environment, probably Win2000 or Win98. Planning to use a...
6
2207
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing. If someone could tell me what I'm missing that would be great. 1. Create an external class and call it Test.dll. 2. Create a test Asp.net app called App.sln. 3. For App.sln I set a reference to Test.dll. 4. Compile App.sln and run it. The web...
6
1822
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to debug a web app from within vs.net 2005 locally on windows 2003 server I just cannot get debugging to work anywhere other than localhost I completely uninstalled the ie enhanced security I've been through all of the doc's i can google
23
3206
by: keyser_Soze | last post by:
I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on this machine and I am trying to debug some existing code which has both ASP and ASP.NET components. When I try and launch the debugger from VS, I am told it can't because the project is of output type class library. The error indicates I should set the start action to start external program or start URL. I tried both of these and cannot seem to get the debugger to...
6
10724
by: Rob R. Ainscough | last post by:
I can't seem to locate the appropriate area in VS 2005 where I can accomplish this -- is this a C# only option? Thanks, Rob.
0
1299
by: Sreenath Rao Nellutla | last post by:
Hi, All I developed applications named WebApplication2, WebApplication3, WebApplication4 and WebApplication5 on one system. When I wanted to test the applications on the other system Im getting the problem as "Error while trying to run the project: Unable to start debugging on the web server.Server side errorr occured on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no syntax errors in...
3
2201
by: Milagro | last post by:
Hello Everyone, I'm trying to debug someone elses php code. I'm actually a Perl programmer, with OO experience, but not in php. The code is supposed to upload a photo from a form and save it both on the file system and in a mySql database. 90% of the time it works just fine. But for some reason, with some photos, it doesn't work. The image never shows up on the filesystem and there is no entry in the database. I feel it's a problem...
10
3650
by: =?Utf-8?B?cmFjZTRzcGFjZQ==?= | last post by:
Hi, IIS is not displaying run time errors - the various debugging options (Enable Server Side Debugging, Send Errors to Browser) have been set to true in the IIS console. No Errors are sent to browser and the script stops running at the error. This occurs for instance with an Option Explicit error - ie a non dimensioned variable is referenced in code with Option Explicit set. <%@ Language=VBScript %>
6
28874
kenobewan
by: kenobewan | last post by:
Congratulations! You are one of the few who realise that over 80% of errors are simple and easy to fix. It is important to realise this as it can save a lot of time. Time that could be wasted making unnecessary changes, that in turn can cause further problems. Programming is a humbling experience. An experience that causes one to reflect on human error. One major cause of these errors is syntax, syntax, syntax. We tend not to notice when we...
0
9683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10231
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.