changed structure

This commit is contained in:
2026-06-30 07:01:23 +02:00
parent b761625110
commit 8bdf3c0fbf
40 changed files with 190 additions and 840 deletions
+6
View File
@@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 3.24)
project(cppout)
file(GLOB SOURCE_FILES "*.cpp")
add_executable(${PROJECT_NAME} ${SOURCE_FILES})
+4
View File
@@ -0,0 +1,4 @@
#include <cstdio>
void printhello(const char *name) {
printf("hello %s \n", name);
}
+1
View File
@@ -0,0 +1 @@
void printhello(const char *name);
+7
View File
@@ -0,0 +1,7 @@
#include <cstdlib>
#include "hello.h"
int main() {
printhello("test");
return EXIT_SUCCESS;
}