printthis.h

来自「一本语言类编程书籍」· C头文件 代码 · 共 14 行

H
14
字号
// Exercise 10.1 Using multiple files and preprocessor directives.  File: printthis.h
// We have seven files in all. 
// The file printthis.h contains the prototype for the function print_this().

#ifndef PRINTTHIS_H
#define PRINTTHIS_H

#include <string>
using std::string;

// Function prototype
void print_this(const string& s);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?