全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Source file, preprocessor?

又称: source file · preprocessor · macro (C)

Definition 1.1 University Computer Science — Year 1 · 第 1 章 — From Source Code to a Running Program

A source file is a text file written in a programming language, here a .c file of C. The preprocessor is the first tool of a C build: it copies the source file, replacing every #include line by the text of the file it names, every use of a macro (a name defined by #define) by the text it stands for, and deleting comments. Its output is still C, with no # line left except line markers.

在原文中阅读 →