Created
December 14, 2021 11:05
-
-
Save tonitch/5dd70dc1ffef3fe257450d1de57be418 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Config::loadConfig(){ | |
std::string key, value; | |
while(config_file){ | |
getline(config_file, key,':'); | |
config_file >> value; | |
config_file >> std::ws; | |
std::cout << "key: " << key << "; Value: " << value << std::endl; | |
} | |
config_file.close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment