954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

problem!!!

i have problem in one part of my project
although it's not completed yet...
in function llfined2 there occurs an exeption because of
if(t->b_num==d)....
i don't why it's wrong!!!!!
can any body help me?!:rolleyes:
by the way i use visual c++ 6.0

Attachments library!.cpp (3.98KB) in.txt (7.33KB)
mahtab
Newbie Poster
2 posts since Feb 2007
Reputation Points: 10
Solved Threads: 0
 

My guess would be that t->b_num wasn't initialized properly. Mind you, this is very much a guess. I can't run your code so I can't tell for sure, and you didn't post what the exception was, but I'm assuming it's due to an improperly initialized pointer (in this case the members of t were not set properly).

Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You