createInput()
Input / FilesDescription
Opens a file for binary reading. Returns a std::ifstream pointer.
Syntax
std::ifstream* createInput(std::string path)
Parameters
| Name | Type | Description |
|---|---|---|
| path | std::string | path to the file |
Returns
std::ifstream*Related
Under the Hood
From Processing.h:
inline std::ifstream* createInput(const std::string& path) { return new std::ifstream(path,std::ios::binary); }