C language to read files. Contents of the file will be too many mistakes.

Category: C/C++ -> C Author: fanbaolong Date: 2011-09-27 12:29:40
2011-09-27 12:29:40
Written in pure C, in vs2005 compiled
processing a text file that holds the chess
When you save the contents of the relatively small when the program is running normally
when the content becomes more time, will An error occurred
Microsoft Visual Studio C Runtime Library has detected a fatal error in conn6.exe.
then the program stops at the system function in
void __ cdecl _CRT_DEBUGGER_HOOK (int _Reserved)
/ * assign 0 to _debugger_hook_dummy so that the function is not ; folded in retail * /
_debugger_hook_dummy = 0;
refers to a statement in the final

originally a text file is saved content behind the problem, but to be able to run in front of the partially removed, leaving only the back part can be run properly, but the together to die

Please expert guidance, almost collapsed!
2011-09-27 12:32:24
was once regarded the contents of the file into memory?
if it is possible to read the try block.
2011-09-27 12:50:32
bad analysis, you need to look at the code!
2011-09-27 12:59:48
or paste code
2011-09-27 13:11:20
analysis of information from the problems you tell people, they too deep.
code let me, let us write the code look, okay?
2011-09-27 13:18:33
file is read line by line because the file is too big

code because the code is too bad, and there are thousands of lines of
I feel this is not a problem with the code
2011-09-27 13:26:00
the code posted Come! ~ so we can find the problem ah! ~ Oh
2011-09-27 13:41:48
I have encountered this problem, I do not know LZ solution No, but I do not feel like it should be code issues
2011-09-27 13:57:50
QQ2010 not run, the TM2009 can not be installed to run. Also shown as "application can not start properly (0xc0150002). Click" OK "to close the application." In Baidu, Google search found that there are many people experiencing the same problem, but is not limited to software Tencent software, a camera, CAD various software.
find these software are developed by the Visual C + +. But the view OS installed software does not install Visual C + +, and these during the installation process checks for the installation environment also did not find and install visual C + +.

So far the problem has been resolved in Microsoft Update to find and download the Microsoft Visual C + + 2005 or 2008 can be. Running QQ found the problem has been resolved.

Download:-playlang = zh-cn & FamilyID = 200b2fd9-ae1a-4a14-984d-389c36f85647

special! !
Please do not install after downloading, first extract to any place, and then click setup.exe to install on it