jlcrodrigues / Transport-Navigator

CLI project. Manage a bus network and navigate trough it.
MIT License
2 stars 0 forks source link

Change the file enconding #15

Closed jlcrodrigues closed 2 years ago

jlcrodrigues commented 2 years ago

Change the enconding on the data so it matches the code. This way, the weird outputs should disappear.

jlcrodrigues commented 2 years ago

Maybe something like this can be used:

int main() {
    setlocale(LC_ALL, "pt_PT.UTF-8");
    LoginMenu loginMenu;
    loginMenu.displayLogin(cout);
    getchar();
    try {
        Manager manager;
        Menu menu(manager);
        menu.mainMenu();
    } catch (exception &e) {
        exit(0);
    }
    return 0;
}