OOP HomeWork

This commit is contained in:
e2hang
2025-08-11 00:01:30 +08:00
commit e8a5ca2363
119 changed files with 3187 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#include <iostream>
#include "print_this.h"
#include "print_that.h"
extern int print_count;
int main() {
#ifdef DO_THIS
print_this("Hello");
#else
print_that("Hello");
#endif
std :: cout << "Print called " << print_count << " times." << std::endl;
return 0;
}