﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-something about KDD</title><link>http://www.cppblog.com/xiaolizi/</link><description>My experiences</description><language>zh-cn</language><lastBuildDate>Tue, 09 Jun 2026 22:55:38 GMT</lastBuildDate><pubDate>Tue, 09 Jun 2026 22:55:38 GMT</pubDate><ttl>60</ttl><item><title>Remember my fault</title><link>http://www.cppblog.com/xiaolizi/archive/2008/11/18/67241.html</link><dc:creator>Xiaoli Wang</dc:creator><author>Xiaoli Wang</author><pubDate>Tue, 18 Nov 2008 14:19:00 GMT</pubDate><guid>http://www.cppblog.com/xiaolizi/archive/2008/11/18/67241.html</guid><wfw:comment>http://www.cppblog.com/xiaolizi/comments/67241.html</wfw:comment><comments>http://www.cppblog.com/xiaolizi/archive/2008/11/18/67241.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/xiaolizi/comments/commentRss/67241.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/xiaolizi/services/trackbacks/67241.html</trackback:ping><description><![CDATA[On my recent project on data mining, I made a same mistake for many times. Hence, I write this article to remember my faults. <br>First, when I read a file, I always forget checking the last line. Sometimes the last line of the file is blank, but I always ignore this. Hence, when I process the reading data, some errors will happen.<br>Secondly, I always use the pointer and array wrongly because I cannot think about all the situations carefully, and everytime segmentation fault will happen.
<img src ="http://www.cppblog.com/xiaolizi/aggbug/67241.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/xiaolizi/" target="_blank">Xiaoli Wang</a> 2008-11-18 22:19 <a href="http://www.cppblog.com/xiaolizi/archive/2008/11/18/67241.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>