![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
文章平均质量分 61
suemiineo
这个作者很懒,什么都没留下…
展开
-
the evil VC -- Visual C++ project, macro, output file
in visual c++ project setting, we can use the following macro to reference to the output file name, such as: incase we have the output file as: $(OutDir)\xxx.lib $(TargetName) refers to 'xxx'原创 2011-11-20 19:14:59 · 756 阅读 · 0 评论 -
The evil C++ -- vsprintf, UNICODE, error output string
Before this time, I always believe building the program with UNICODE or non UNICODE flag only effect the programatic side, and won't effect the system behavior. The problem arose with mixing usage of原创 2011-11-20 19:30:56 · 1237 阅读 · 0 评论 -
C/C++宏定义的可变参数
转自 http://www.vimer.cn/2010/03/cc%E5%AE%8F%E5%AE%9A%E4%B9%89%E7%9A%84%E5%8F%AF%E5%8F%98%E5%8F%82%E6%95%B0.html 编写代码的过程中,经常会输出一些调试信息到屏幕上,一般会调用printf这类的函数。 但是当调试解决之后,我们需要手工将这些地方删除或者注释掉。 再这次的项目中就用转载 2011-11-20 19:37:45 · 989 阅读 · 0 评论 -
万恶的c/c++——控制台输出 改写当前行
if we just call the c/c++ standare output interface, such as printf, in fact we ouput new text at the back of already printed text, but sometimes, we have to modify the printed text in current line. i原创 2011-11-20 19:39:02 · 1312 阅读 · 0 评论 -
C语言下的面向对象编程技术
Nesty框架提供了在C下进行面向对象编程的技术,下面将以一些简短的例子来说明其如何工作。 从第一个简单的例子开始 NOBJECT是NOOC(Nesty Object-Oriented C)框架中所有面向对象类型的基类,NOBJECT作为面向对象的编程接口提供了,对象拷贝,对象比较,对象哈希,对象字符串化,以及运行时类型识别和安全向下类型转换等功能。因此所有NOOC都必须从NOBJEC原创 2013-03-31 23:55:41 · 1748 阅读 · 7 评论