mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-05-30 02:20:46 +02:00
add C example
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
task hello {
|
||||
description = "Say Hello :-)"
|
||||
println "Hello FI MUNI!"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
apply plugin: 'c'
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char** argv){
|
||||
printf("Hello FI MUNI!\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user