printthis.cpp

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

CPP
10
字号
// Exercise 10.3 Using namespaces. The solution is as Exercise 10.2, with changes to
// print.h, print.cpp, printthis.cpp and printthat.cpp: 

// printthis.cpp
#include "printthis.h"
#include "print.h"

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

⌨️ 快捷键说明

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