什么是C预处理器? [英] What is C preprocessor?

查看:69
本文介绍了什么是C预处理器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新手,我想知道什么是CPP,如标题所示。我听说过b $ b,但我读过的那本书并没有提到它。也许

这本书也是介绍性的。任何人都可以给我一个关于它的概念吗?

I am a novice, I want to know what is CPP, as showed in title. I
heared about it but the book I read do not mentioned it. Maybe
this book is too "introductory". Any one can give me a concept about it?

推荐答案

" Zhou Yan"写道:
"Zhou Yan" writes:

>我是新手,我想知道什么是CPP,如标题所示。我听说过b $ b,但我读过的那本书并没有提到它。也许

这本书也是介绍性的。任何人都可以给我一个关于它的概念
>I am a novice, I want to know what is CPP, as showed in title. I
heared about it but the book I read do not mentioned it. Maybe
this book is too "introductory". Any one can give me a concept about it



这应该是有帮助的。维基百科通常对计算机相关的问题很有帮助。

http://en.wikipedia.org/wiki/C_preprocessor


周燕< zh ***** @ stu。 ust.hkwrites:
Zhou Yan <zh*****@stu.ust.hkwrites:

我是新手,我想知道什么是CPP,如标题所示。我听说过b $ b,但我读过的那本书并没有提到它。也许

这本书也是介绍性的。任何人都可以给我一个概念吗?
I am a novice, I want to know what is CPP, as showed in title. I
heared about it but the book I read do not mentioned it. Maybe
this book is too "introductory". Any one can give me a concept about it?



维基百科有一些信息,虽然它不是最好的处理方式:
http://en.wikipedia.org/wiki/C_preprocessor

-

我知道的lusers是如此无能为力,如果他们被扼杀在线索

麝香并放在角质线索的中间,在线索舞会上

晚上线索欢乐时光,他们仍然无法得到线索。

- 迈克尔戈德伍德,在修道院中

Wikipedia has some information, although it''s not the greatest treatment:
http://en.wikipedia.org/wiki/C_preprocessor
--
"The lusers I know are so clueless, that if they were dipped in clue
musk and dropped in the middle of pack of horny clues, on clue prom
night during clue happy hour, they still couldn''t get a clue."
--Michael Girdwood, in the monastery



周燕 < zh ***** @ stu.ust.hkwrote in message

news:m2 ************ @ stu.ust.hk ...

"Zhou Yan" <zh*****@stu.ust.hkwrote in message
news:m2************@stu.ust.hk...

我是新手,我想知道什么是CPP,如标题所示。我听说过b $ b,但我读过的那本书并没有提到它。也许

这本书也是介绍性的。任何人都可以给我一个概念吗?
I am a novice, I want to know what is CPP, as showed in title. I
heared about it but the book I read do not mentioned it. Maybe
this book is too "introductory". Any one can give me a concept about it?



它并不总是作为一个单独的程序实现。在许多编译器中,它现在是主编译器的一部分。因此,如果您使用GCC,那么-E将使用GCC。 flag只运行

预处理器。

Its not always implemented as a seprate program. In many compilers its now
part of the main compiler. So if you use GCC then the "-E" flag only run the
pre-processor.


这篇关于什么是C预处理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆