mirror of
https://github.com/Lore09/Tesi-Magistrale.git
synced 2026-02-04 13:31:16 +00:00
example task file
This commit is contained in:
18
task-splitter/src/tasks.c
Normal file
18
task-splitter/src/tasks.c
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
@Task
|
||||||
|
@LibDeps("stdio.h","stdlib.h")
|
||||||
|
float get_average_rand(float values[]){
|
||||||
|
return 5;
|
||||||
|
}
|
||||||
|
@ModuleName("Tattitto")
|
||||||
|
@TaskCloud
|
||||||
|
@Libdeps("math.h")
|
||||||
|
int is_even(int number){
|
||||||
|
if(number%2==0)return 1;
|
||||||
|
else return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@LibDeps("stdio.h","string.h")
|
||||||
|
@TaskDevice
|
||||||
|
void printaaaa(String text){
|
||||||
|
printf("aaaa %s\n",text);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user