Created
November 9, 2018 03:17
-
-
Save mc256/33514605cb1422be974858bc7b2ec164 to your computer and use it in GitHub Desktop.
Forward file to input stream
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
std::ifstream in("ABSOLUTE_PATH_TO_YOUR_FILE"); | |
std::cin.rdbuf(in.rdbuf()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment