add C example

This commit is contained in:
Juraj Michalek committed 2014-04-21 19:23:41 +02:00
1 parent 8327533aff
commit 5094926ec7
3 files changed
+18

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
task hello {
description = "Say Hello :-)"
println "Hello FI MUNI!"
}
+7
View File
@@ -0,0 +1,7 @@
apply plugin: 'c'
executables {
main {
}
}
+6
View File
@@ -0,0 +1,6 @@
#include <stdio.h>
int main(int argc, char** argv){
printf("Hello FI MUNI!\n");
return 0;
}