Created
March 22, 2018 22:58
-
-
Save quedlin/9b8cc1e435f91606f61f261d4e78249f 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
#include <fstream> | |
#include <string> | |
int main() | |
{ | |
std::ifstream file("Read.txt"); | |
std::string str; | |
while (std::getline(file, str)) | |
{ | |
// Process str | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment