Debug Librayとは?


Mr.T  2003-12-03 14:15:09  No: 52736  IP: [192.*.*.*]

Microsoft Visual C++ Debug Libray
Debug Assertion Failed!

Program:...es\Microsoft Visual Studio\MyProjects\angou4\Debug\angou4.exe
File: afx.inl
Line:177

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application)
というエラーが出ます。どうしたらいいんでしょうか?
for文の判定条件で文字列がNULLになったときに抜けるようにしてそこで
このメッセージが出るみたいなんですけど

編集 削除
tetrapod  2003-12-03 14:27:57  No: 52737  IP: [192.*.*.*]

英語に書いてあるとおりです。
Retry ボタンを押してデバッグしてください。
assert に失敗している=
(あなたのプログラムが)バグっているのですから。
1文字しかない CString 文字列に対して s[2] のような
読み取りを行おうとしているのでしょう。

編集 削除