This project is a student management system created in C++ that allows the user to add, view, modify, and delete the students in the system.
Note: This project is not complete.
Note 2: The program might not work proper on OS X, due to the use of fflush on stdin.
To build the program/project, you need to have make or mingw32-make installed.
make comes with the GNU C toolchain by default on Linux and other operating systems.
mingw32-make comes with the MinGW toolchain by default.
To install make on Windows, install Chocolatey first, and run the following command as administrator:
choco install make
or you can install mingw32-make by getting MinGW toolchain from MSYS2.
After you install make or mingw32-make, you can run the following command in the root directory of the project to first prepare the project:
make prepare
and then build the project using:
make
If you prefer to not use make or mingw32-make to build the program, you can manually execute the following command to build it:
g++ -std=gnu++17 src/main.cpp modules/secrets.cpp -o bin/main.exe -I"./modules" -lstdc++
This will build the program and create a bin directory with the executable file main.exe in it. That is the executable program of the project.
After you build the program, you can run the executable file inside of bin.
IMPORTANT: The current working directory cwd should be <path>/bin in order to ensure that files are created and read in the correct place.