clean the work files

This commit is contained in:
Sambo Chea 2020-08-01 22:10:24 +07:00
parent 10fe1747d3
commit 9d9eb77688
2 changed files with 21 additions and 18 deletions

View File

@ -1,14 +1,17 @@
#include "stdio.h"
void print(char *text) {
void print(char *text)
{
printf(text);
}
void println(char *text) {
void println(char *text)
{
newline();
print(text);
}
void newline() {
void newline()
{
printf("\n");
}

View File

@ -58,9 +58,8 @@ int main()
printf("Course of units: %d", first->course_info.no_of_units);
read_file("./../data/welcome.txt");
display_menu();
display_menu();
newline();
@ -104,32 +103,33 @@ void menu(int menu)
}
}
void display_menu() {
void display_menu()
{
printf("\n");
read_file("./../note/section1.txt");
}
void display_students() {
void display_students()
{
}
void search_student() {
void search_student()
{
}
void find_maximum() {
void find_maximum()
{
}
void find_failed() {
void find_failed()
{
}
void update_file() {
void update_file()
{
}
void exit_program() {
void exit_program()
{
println("Goodbye...");
}