mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-08-01 16:15:31 +00:00
21 lines
597 B
C++
21 lines
597 B
C++
#include "TessesFramework/TessesFramework.hpp"
|
|
|
|
int main(int argc, char **argv) {
|
|
using namespace Tesses::Framework;
|
|
TF_InitWithConsole();
|
|
|
|
Console::Write("Username: ");
|
|
|
|
std::string username = Console::ReadLine();
|
|
|
|
Console::Write("Password: ");
|
|
|
|
std::string password = Console::ReadPassword();
|
|
|
|
Console::WriteLine("Your username was: \"" + username + "\", " +
|
|
std::to_string(username.size()));
|
|
Console::WriteLine("Your password was: \"" + password + "\", " +
|
|
std::to_string(password.size()));
|
|
|
|
TF_RunEventLoop();
|
|
} |