由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - CPP question
相关主题
#ifdef, #ifndef 这些 preprocessor 应该叫什么呀?三个C syntax 弱问题
关于程序必须支持win and linux, 可不可以用class而不是#ifdef WIN32 ?一个简单的小问题
how to apply OOD to a code for both win and linux platform ?one question about operator delete
如何用 preprocessor unroll for loop?What syntax is this?(about macro)
what kind of language this is and how to change it? (转载)基于macro的meta programming真难懂
深情的呼唤师傅们!C++做题做不出来啦!怎样才能用perl等东西知道c macro中的数值
弱问一个ifdef 和ifndef这个结果是啥,为什么呢?
Question on using ## in #define输入输出流,stl,api精通各需要多长时间?
相关话题的讨论汇总
话题: lines话题: cpp话题: blank话题: hi话题: many
进入Programming版参与讨论
1 (共1页)
j******n
发帖数: 271
1
Hi, does anyone know how to suppress preprocessor from output blank lines
for
the lines where C directives (#ifdef, #define and etc) are in the source
code?
I searched the documentation and didn't find a mention about that. Many
thanks.
t****t
发帖数: 6806
2
i think the blank lines are intentionally added such that the line count are
correct.

【在 j******n 的大作中提到】
: Hi, does anyone know how to suppress preprocessor from output blank lines
: for
: the lines where C directives (#ifdef, #define and etc) are in the source
: code?
: I searched the documentation and didn't find a mention about that. Many
: thanks.

1 (共1页)
进入Programming版参与讨论
相关主题
输入输出流,stl,api精通各需要多长时间?what kind of language this is and how to change it? (转载)
《Objective-C 编程 (第3版)》英文文字版[PDF]深情的呼唤师傅们!C++做题做不出来啦!
C++ template preprocessor弱问一个ifdef 和ifndef
动态连接库问题: 继承一个DLL导出的类Question on using ## in #define
#ifdef, #ifndef 这些 preprocessor 应该叫什么呀?三个C syntax 弱问题
关于程序必须支持win and linux, 可不可以用class而不是#ifdef WIN32 ?一个简单的小问题
how to apply OOD to a code for both win and linux platform ?one question about operator delete
如何用 preprocessor unroll for loop?What syntax is this?(about macro)
相关话题的讨论汇总
话题: lines话题: cpp话题: blank话题: hi话题: many