In docs folder
The program has two modes of operation: test and release. In test mode, the program opens the files specified in the arguments and reads the coefficients of the quadratic equation and the pre-recorded solutions, after which it outputs the test results to the output file. Example of input file:
The first string indicates the number of quadratic equations The following strings indicate the coefficients and roots of the quadratic equation in the format: a b c count_of_roots x1 x2
To compile the program in test mode, enter the "make test" command in the console. Example:
To run the program in test mode, enter the ".prog input_file_name.txt output_file.txt". Example:
In release mode, the program opens the files specified in the arguments and reads the coefficients of the quadratic equation, after which it outputs the release results to the output file. Example of input file:
The first string indicates the number of quadratic equations The following strings indicate the coefficients and roots of the quadratic equation in the format: a b c
To compile the program in test mode, enter the "make release" command in the console. Example:
To run the program in release mode, enter the ".prog input_file_name.txt output_file.txt". Example:





