add source code of this project

This commit is contained in:
ІО-23 Шмуляр Олег 2024-10-14 14:10:17 +03:00
commit e89b1ff2a4
Signed by: hasslesstech
GPG Key ID: 09745A46126DDD4C
3 changed files with 16 additions and 0 deletions

6
lib/printer.cpp Normal file
View File

@ -0,0 +1,6 @@
#include <iostream>
void print(std::string text)
{
std::cout << text;
}

1
lib/printer.h Normal file
View File

@ -0,0 +1 @@
void print(std::string text);

9
src/main.cpp Normal file
View File

@ -0,0 +1,9 @@
#include <iostream>
#include "printer.h"
using namespace std;
int main(int argc, char** argv)
{
print("Test");
return 0;
}