Add the CLion practice projects
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
29f932b82f
20 files changed
+210
No files matched your search
@@ -0,0 +1,6 @@
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(untitled C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
add_library(untitled library.c library.h)
|
||||
@@ -0,0 +1,7 @@
|
||||
#include "library.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void hello(void) {
|
||||
printf("Hello, World!\n");
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef UNTITLED_LIBRARY_H
|
||||
#define UNTITLED_LIBRARY_H
|
||||
|
||||
void hello(void);
|
||||
|
||||
#endif //UNTITLED_LIBRARY_H
|
||||
Reference in new issue
Block a user