![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 66
yypp1984
这个作者很懒,什么都没留下…
展开
-
使用ifstream和getline读取文件内容[c++]
#include #include #include using namespace std;//输出空行void OutPutAnEmptyLine(){ cout<<"/n";}//读取方式: 逐词读取, 词之间用空格区分//read data from the file, Word By Word//when used in this man转载 2009-06-22 13:49:00 · 785 阅读 · 1 评论 -
Visual C++开发工具与调试技巧整理
自己总是用VC平台来开发东西,但是有时候总是出这样那样的问题,呵呵,总是需要上网查资料来解决,在这里把自己用到上网查的一些技巧摘录如下,希望对大家有用,省去大家再去搜索的烦恼。1.如何在Release状态下进行调试Project->Setting=>ProjectSetting对话框,选择Release状态。转载 2009-06-24 15:13:00 · 269 阅读 · 0 评论 -
分形邻距图像识别(快速排序算法)
Fnd类头文件Fnd.h:#include #include #include #include using namespace std;typedef unsigned char BYTE;#define HSIZE 256#define VSIZE 256class Fnd{private: char* unkimg; char* stdim原创 2009-06-23 16:24:00 · 596 阅读 · 0 评论 -
C++编程中的四个调试小技巧
1、调试标记 适用预处理#define定义一个或多个调试标记,在代码中把调试部分使用#ifdef和#endif进行管理。当程序最终调试完成后,只需要使用#undef标记,调试代码就会消失。常用的调试标记为DEBUG, 语句序列:#define DEBUG#ifdef DEBUG调试代码#endif 2、运行期间调试标记 在程序运行期间原创 2009-06-24 15:14:00 · 388 阅读 · 0 评论