OOP HomeWork
This commit is contained in:
7
oop_hw1/oop_hw1_2/print.cpp
Normal file
7
oop_hw1/oop_hw1_2/print.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
#include "print.h"
|
||||
int print_count = 0;
|
||||
void print(const std::string& s) {
|
||||
++print_count;
|
||||
std::cout << s << std::endl;
|
||||
}
|
Reference in New Issue
Block a user