createReader()
Input / FilesDescription
Creates a BufferedReader object for reading text from a file line by line.
Syntax
BufferedReader* createReader(std::string path)
Parameters
| Name | Type | Description |
|---|---|---|
| path | std::string | path to the file |
Returns
BufferedReader*Related
Under the Hood
From Processing.h:
static BufferedReader* createReader(const std::string& path);
Under the Hood
From Processing.cpp:
BufferedReader* PApplet::createReader(const std::string& path){ return new BufferedReader(path); }