refactor folder

This commit is contained in:
baol 2024-05-13 14:09:58 +08:00
parent 917b3765c4
commit 0979e7de7e
5 changed files with 17 additions and 0 deletions

BIN
example1/build/c_hello Executable file

Binary file not shown.

BIN
example1/build/hello Executable file

Binary file not shown.

5
example1/hello.F90 Normal file
View File

@ -0,0 +1,5 @@
program hello
! this is comment line
print *, "hello world!"
end program hello

6
example1/hello.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main (void) {
printf("Hello, world!\n");
return 0;
}

6
example2/example2.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main (void) {
printf("Two plus two is %f\n", 4);
return 0;
}