1
Fork 0
mirror of https://github.com/RGBCube/CSAssignments synced 2025-09-14 14:07:59 +00:00
This commit is contained in:
RGBCube 2022-11-05 16:19:31 +03:00
parent df3ebcd560
commit 57f4be66d2
20 changed files with 322 additions and 1681 deletions

View file

@ -1,9 +1,8 @@
name = "example"
name = "Example"
given-date = "3/11/2022"
main-file = "example.c"
description = "This is an example entry for C"
directions = """
Print "Example" 10 times.
"""
[compile]
main-file = "example.c"

View file

@ -2,15 +2,14 @@ name = "C"
description = "C (pronounced like the letter c) is a general-purpose computer programming language"
[colors]
foreground = 0x000000
background = 0x00599d
foreground = "ffffff"
background = "00599d"
[build]
common = "gcc -o {out-file} {main-file}"
[run]
linux = "./{out-file}"
windows = "{out-file}"
common = "{}"
[dependencies]
common = ["gcc"]

View file

@ -1,5 +1,6 @@
name = "star-rating"
name = "Star Rating"
given-date = "30/10/2022"
main-file = "star_rating.c"
description = "A program that takes 21 reviews and calculates the average rating and prints some stars"
directions = """
1. Read in 21 user ratings for a movie.
@ -26,6 +27,3 @@ star, e.g. 14.3% one star, 23.8% two star, etc.
Display this to the screen in a similar manner
to task 4.
"""
[compile]
main-file = "star_rating.c"