printthis.cpp

来自「一本语言类编程书籍」· C++ 代码 · 共 11 行

CPP
11
字号
// Exercise 10.1 Using multiple files and preprocessor directives.  File: printthis.cpp
// We have seven files in all. 
// The file printthis.cpp contains the definition for the function printthis().
// Each of the files printthis.cpp and printthat.cpp must #include the file print.h,
// as well as its own header file: 
#include "printthis.h"
#include "print.h"

void print_this(const string& s) {
  print(s);                 
}

⌨️ 快捷键说明

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