mirror of
https://github.com/RGBCube/CSAssignments
synced 2025-07-25 13:07:46 +00:00
Start working on new interactive runner
This commit is contained in:
parent
1080941194
commit
38ba3af643
23 changed files with 202 additions and 15 deletions
9
sources/c/example/assignment.toml
Normal file
9
sources/c/example/assignment.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name = "example"
|
||||
given-date = "3/11/2022"
|
||||
description = "This is an example entry for C"
|
||||
directions = """
|
||||
Print "Example" 10 times.
|
||||
"""
|
||||
|
||||
[compile]
|
||||
main-file = "example.c"
|
8
sources/c/example/example.c
Normal file
8
sources/c/example/example.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
printf("Example");
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue