文件名称:preprocessor
- 所属分类:
- 控制台(字符窗口)编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 469kb
- 下载次数:
- 0次
- 提 供 者:
- any***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Handling preprocessor directives.
Write a program that processes a preprocessor directive in the file containing the program in C. Should properly handle the directive # include, # define, # ifdef and ifndef.
In the implementation of # define macro functions do not require treatment.
In the implementation of # include nesting should be supported by any standard way. The standard way to headers can be specified by the environment variable INCLUDE or the command line.
Program processing text files.
All Programs in this section read data from the input text file, convert it in some way and write the result in the output file.
For all programs in this section, the last two command-line option - input file name and output file name. If not specified the input file name, then the data is read from standard input. If not specified the output file name, then the result is printed to standard output.
Write a program that processes a preprocessor directive in the file containing the program in C. Should properly handle the directive # include, # define, # ifdef and ifndef.
In the implementation of # define macro functions do not require treatment.
In the implementation of # include nesting should be supported by any standard way. The standard way to headers can be specified by the environment variable INCLUDE or the command line.
Program processing text files.
All Programs in this section read data from the input text file, convert it in some way and write the result in the output file.
For all programs in this section, the last two command-line option - input file name and output file name. If not specified the input file name, then the data is read from standard input. If not specified the output file name, then the result is printed to standard output.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Задание 7\Home7\Debug\Home7.exe
................\.....\.....\Home7.ilk
................\.....\.....\Home7.pdb
................\.....\Home7\Home7.cpp
................\.....\.....\Home7.vcproj
................\.....\.....\Home7.vcproj.HOME-749BAD0A11.Student.user
................\.....\.....\Home7.vcproj.saboteur.Владимир.user
................\.....\.....\Home7.vcproj.TSU-E320F48A4E3.Student.user
................\.....\.....\ReadMe.txt
................\.....\.....\stdafx.cpp
................\.....\.....\stdafx.h
................\.....\.....\targetver.h
................\.....\Home7.ncb
................\.....\Home7.sln
................\.....\Home7.suo
................\.....\.....\Debug
................\.....\Debug
................\.....\Home7
................\Home7
Задание 7
................\.....\.....\Home7.ilk
................\.....\.....\Home7.pdb
................\.....\Home7\Home7.cpp
................\.....\.....\Home7.vcproj
................\.....\.....\Home7.vcproj.HOME-749BAD0A11.Student.user
................\.....\.....\Home7.vcproj.saboteur.Владимир.user
................\.....\.....\Home7.vcproj.TSU-E320F48A4E3.Student.user
................\.....\.....\ReadMe.txt
................\.....\.....\stdafx.cpp
................\.....\.....\stdafx.h
................\.....\.....\targetver.h
................\.....\Home7.ncb
................\.....\Home7.sln
................\.....\Home7.suo
................\.....\.....\Debug
................\.....\Debug
................\.....\Home7
................\Home7
Задание 7