Linear Equations Solver
1.0
Using Gaussian elimination
|
Implementation of user interaction functions. More...
#include "interaction.h"
#include <iostream>
#include <vector>
#include <string>
#include <filesystem>
#include <limits>
#include "utils.h"
Go to the source code of this file.
Functions | |
string | SelectInputFile () |
Allows the user to select an input .in file from the current directory.Returns an empty string if no file is selected. | |
char | AskRunAgain () |
Return char The user's choice ('y', 'Y', 'n', 'N'). | |
void | WaitForExit () |
Waits for the user to press Enter before exiting. | |
Implementation of user interaction functions.
This file implements the functions responsible for interacting with the user, including selecting input files, prompting whether to run the program again, and waiting for the user to exit. These functions guide the flow of the program based on user input.
Definition in file interaction.cpp.
char AskRunAgain | ( | ) |
Return char The user's choice ('y', 'Y', 'n', 'N').
Definition at line 82 of file interaction.cpp.
string SelectInputFile | ( | ) |
Allows the user to select an input .in
file from the current directory.Returns an empty string if no file is selected.
Definition at line 24 of file interaction.cpp.
void WaitForExit | ( | ) |
Waits for the user to press Enter before exiting.
Definition at line 103 of file interaction.cpp.