diff --git a/example1/build/c_hello b/example1/build/c_hello new file mode 100755 index 0000000..308c236 Binary files /dev/null and b/example1/build/c_hello differ diff --git a/example1/build/hello b/example1/build/hello new file mode 100755 index 0000000..82dd0e3 Binary files /dev/null and b/example1/build/hello differ diff --git a/example1/hello.F90 b/example1/hello.F90 new file mode 100644 index 0000000..5827201 --- /dev/null +++ b/example1/hello.F90 @@ -0,0 +1,5 @@ +program hello + ! this is comment line + + print *, "hello world!" +end program hello diff --git a/example1/hello.c b/example1/hello.c new file mode 100644 index 0000000..f8317f2 --- /dev/null +++ b/example1/hello.c @@ -0,0 +1,6 @@ +#include + +int main (void) { + printf("Hello, world!\n"); + return 0; +} diff --git a/example2/example2.c b/example2/example2.c new file mode 100644 index 0000000..1af1efb --- /dev/null +++ b/example2/example2.c @@ -0,0 +1,6 @@ +#include + +int main (void) { + printf("Two plus two is %f\n", 4); + return 0; +}