调试总结 & 心得[ 2010 - 8 - 13 更新 ]
FutureCode
posted @ Mon, 08 Feb 2010 06:24:35 +0800
in Chapter 0 - Others
, 1040 readers
(2010-2-8)对文件写入后找不到输出文件?或者程序找不到输入文件?在VC中使用stdio.h中的fopen时经常会出现这个问题,解决办法:1.把输入文件放到C:\Documents and Settings\Administrator中,输出文件也去那找;2.在fopen时写明具体的目录;3.使用fstream或CFile。
(2010-2-7)对字符数组进行手工写入时,一定要在其末尾加上'\0'。(学完C++尤其是MFC后,本人不推荐使用字符数组,有的时候使用CString要更方便、有效一些)
(2010-2-7)CString类在进行转换时,只能转为LPCTSTR,即只读状态,若想进行写入操作,要使用void CString::Format(LPCTSTR lpszFormat, ...)或LPTSTR CString::GetBuffer(int nMinBufLength)。(使用GetBuffer写入完毕后,要调用ReleaseBuffer,否则进行GetLength等操作时,不会得到正确的结果)
(2010-7-30)在读写二进制文件时,一定不要忘记设定文件指针类型为"rb"或"wb"
(2010-8-13)在VC工程中加入#include <dshow.h>时,会出现错误:error C2065: 'sprintf_instead_use_StringCbPrintfA_or_StringCchPrintfA' : undeclared identifier。解决方案:Project > Settings > C/C++ > Preprocessor definitions > 增加STRSAFE_NO_DEPRECATE
Sun, 02 Jan 2022 05:17:33 +0800
It’s nearly impossible to find knowledgeable folk on this kind of field, but you sound like you know very well what you’re speaking about! Thanks a bunch 메이저사이트
Wed, 16 Feb 2022 21:35:36 +0800
The guidelines you provided allow me to share extremely precious. It been found such a pleasurable surprise to possess that looking forward to me once i awoke today. They may be constantly clear easy to understand. Thanks a ton for the valuable ideas you’ve got shared the following. 토토사이트
Tue, 04 Oct 2022 05:08:02 +0800
I like this site because so much useful material on here . iPhone 14
Thu, 10 Oct 2024 13:57:33 +0800
Exceptional examine, positive website online, in which did u come up with the data on this posting? I have read a number of the articles in your website now, and i definitely like your style. Thank you a million and please maintain up the powerful work.
Thu, 10 Oct 2024 14:40:27 +0800
an impressive proportion! I’ve simply forwarded this onto a co-employee who have been doing a little research on this. And he in truth ordered me dinner due to the fact i found it for him… lol. So permit me to reword this…. Thanks for the meal!! However yeah,
Thu, 10 Oct 2024 14:43:03 +0800
Nice one, there is actually some great facts on this post some of my subscribers may find this useful, will send them a link, many thanks
Thu, 10 Oct 2024 14:59:24 +0800
i examine a whole lot of stuff and i found that the way of writing to clearifing that exactly want to mention changed into very good so i'm impressed and ilike to return once more in future.. Very in all likelihood i’m going to bookmark your blog .
Thu, 10 Oct 2024 15:00:59 +0800
I precisely wished to appreciate you all over again. I’m not certain the things I might have implemented without the actual tactics discussed by you relating to my industry. It previously was a real frightful
Thu, 10 Oct 2024 15:10:46 +0800
Nice one, there is actually some great facts on this post some of my subscribers may find this useful, will send them a link, many thanks
Thu, 10 Oct 2024 15:11:59 +0800
i examine a whole lot of stuff and i found that the way of writing to clearifing that exactly want to mention changed into very good so i'm impressed and ilike to return once more in future.. Very in all
Thu, 10 Oct 2024 15:17:52 +0800
I've been searching for hours on this topic and finally found your post. , I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?
Thu, 10 Oct 2024 15:18:48 +0800
an impressive proportion! I’ve simply forwarded this onto a co-employee who have been doing a little research on this. And he in truth ordered me dinner due to the fact i found it for him… lol. So permit me to reword this…. Thanks for the meal!! However yeah, thanx for spending the time to speak about this challenge right here to your blog. Your style may be very specific in comparison to other people i've study stuff from. Thank you for posting if you have the possibility, bet i'm able to simply book mark this site. Proper put up. I learn some thing new and tough on web sites i stumbleupon everyday. It’s continually interesting to examine content from different writers and use something from other websites.
Thu, 10 Oct 2024 15:19:27 +0800
I've been searching for hours on this topic and finally found your post.majorsite, I have read your post and I am very impressed. We prefer your opinion and will visit this site frequently to refer to your opinion. When would you like to visit my site?
Thu, 10 Oct 2024 15:20:19 +0800
your put up is beneficial to get some successful tips to decrease weight correctly. You have shared special first rate pix of some thing very similar. I would need to thank you fort and love studying more on this subject matter. It is extremely useful for me. Thank you for this sort of precious help once more.
Thu, 10 Oct 2024 15:21:02 +0800
on the factor after i initially remarked i appear to have tapped on the - notify me whilst new remarks are brought-checkbox and now every time a remark is delivered i get 4 messages with precisely the same statement. Is there a techniques you can get rid of me from that help? Much obliged to you! On the point after i take a gander at your weblog internet site in opera, it seems great however while establishing in internet explorer, it makes them cover. What's up to all, considering the fact that i'm actually excited of perusing this site's put up to be refreshed day by day. It contains of extremely good statistics
Thu, 10 Oct 2024 15:22:04 +0800
I must say. Truly rarely do I encounter a blog that’s both educative and entertaining, and without a doubt, you might have hit the nail within the head. Your notion is outstanding; ab muscles something that insufficient persons are speaking intelligently about. We’re very happy that I found this in my seek out something with this. You completed a number of nice points there. I did a search on the issue and found nearly all people will have the same opinion with your blog.
Thu, 10 Oct 2024 15:22:16 +0800
Looking at this article, I miss the time when I didn't wear a mask. Hopefully this corona will end soon. My blog is a blog that mainly posts pictures of daily life before Corona and landscapes at that time. If you want to remember that time again, please visit us.
Thu, 10 Oct 2024 15:23:12 +0800
Nice one, there is actually some great facts on this post some of my subscribers may find this useful, will send them a link, many thanks
Thu, 10 Oct 2024 15:23:31 +0800
Excellent post.I want to thank you for this informative read, I really appreciate sharing this great post.Keep up your work
Thu, 10 Oct 2024 15:24:03 +0800
That is the excellent mindset, nonetheless is just not help to make every sence whatsoever preaching about that mather. Virtually any method many thanks in addition to i had endeavor to promote your own article in to delicius nevertheless it is apparently a dilemma using your information sites can you please recheck the idea. thanks once more . Awesome! Its genuinely amazing paragraph, I have wondeгfuⅼ put ᥙp, very informatіve. I ponder why the other experts оf this sector do not notiϲe this. got much clear idea concerning from this article.
Thu, 10 Oct 2024 15:24:51 +0800
I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing
Thu, 10 Oct 2024 15:25:35 +0800
I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job
Thu, 10 Oct 2024 15:26:26 +0800
I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job
Thu, 10 Oct 2024 15:28:37 +0800
Looking at this article, I miss the time when I didn't wear a mask. Hopefully this corona will end soon. My blog is a blog that mainly posts pictures of daily life before Corona and landscapes at that time. If you want to remember that time again, please visit us.
Thu, 10 Oct 2024 15:35:37 +0800
I like visiting your site since I always come across interesting courses like this one. Great Job, I greatly appreciate that. Do Keep sharing! Attractive blog post, the nation's a truly nice web log that you have got these, compete the best get the job done, can
Thu, 10 Oct 2024 15:40:52 +0800
Ij.start canon is a platform for getting the canon printer driver. You can easily download the driver according to your model as ij start canon is designed with a user-friendly interface. Canon IJ Setup process takes a few minutes in device installation and software installatio