Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 9th, 2005, 05:21 PM
Registered User
 
Join Date: Feb 2005
Location: , , Canada.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default C++ Debug Problem

I wrote this C++ program to read and process text, I have about 30 text files to process, all of them have the exact same format. The program works fine all except 2 files, and when I tried to use the debugger in Visual C++, I get the following errors:

  CXX0017: Error: symbol "j" not found

  Unhandled exception in asc2mat.exe: 0xC0000005: Access Violation

I am relatively new at programming in C++ and don't really know how to use the debugger well. Any suggestions welcome.

Thank you very much.



Reply With Quote
  #2 (permalink)  
Old February 11th, 2005, 01:41 PM
Authorized User
 
Join Date: Feb 2005
Location: Chennai, Tamil Nadu, India.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rockyrak
Default

Hi,

This may be helpful to solve that problem.

Text from MSDN library:

One possible cause of this error is a case mismatch in the symbol name. Because C and C++ are case-sensitive languages, a symbol name must be given in the exact case in which it is defined in the source.

This error can occur when trying to typecast a variable in order to watch the variable during debugging. The typedef declares a new name for a type, but it does not define a new type. The typecast attempted in the debugger requires the name of a defined type.

Tips

Make sure the symbol is already declared at the point in the program where it is being used.
Use an actual type name to cast variables in the debugger, rather than a typedef-defined name.

Let me know whether u got it.



Ram
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug Problem monika.vasvani ASP.NET 2.0 Basics 0 June 9th, 2008 09:36 PM
Debug/Build Problem BigJim BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 June 9th, 2007 09:11 AM
first debug problem in my code haagen Java Basics 2 September 25th, 2006 03:28 AM
Debug problem Scootterp Access VBA 4 August 9th, 2006 10:30 AM
visoal studio.net debug problem matokuko VS.NET 2002/2003 2 November 12th, 2004 10:08 AM



All times are GMT -4. The time now is 12:49 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.