Code::Blocks Forums
		User forums => Help => Topic started by: dubfan on March 08, 2010, 06:03:20 pm
		
			
			- 
				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
			 
			
			- 
				Compiler, CB version and
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
			 
			
			- 
				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