News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Scanf.exe Problem

Started by dubfan, March 08, 2010, 06:03:20 PM

Previous topic - Next topic

dubfan

Hi Folks - first post

When running a program with the scanf function in it,
I get an error report "Scanf.exe has encountered a problem and needs to close. We are sorry for the inconvenience" and generates an error report to send to Micro Soft.

Using Win XP on a Dell

Any ideas

Thanks

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rcoll

The scanf function is easy to crash, it really takes no skill at all.  Be sure to check your embedded scan codes against the args supplied; then check them again.  Chances are extremely high that you are passing the wrong kind of pointer to receive a scanf value.

Of course, all this has absolutely nothing to do with C::B, and the help you will get here is limited.  You really should be asking in a C/C++ forum where the scanf experts live.

Ringo