Created
February 15, 2014 10:05
-
-
Save masazdream/9017085 to your computer and use it in GitHub Desktop.
ifstreamでファイルを開くとき用
This file contains hidden or 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
| /** | |
| * open file | |
| */ | |
| void OpenFile(ifstream& file, const char* file_list_path) { | |
| file.open(file_list_path); | |
| if (!file.is_open()) { | |
| throw "can not open file."; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment