Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Leitura de configuração em C++
std::ifstream istr;
istr.open(file_name);
while( istr.good() ) {
std::string line;
std::getline(istr, line);
std::cout << line << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment