createWriter()
Output / FilesDescription
Creates a PrintWriter object for writing text to a file.
Syntax
PrintWriter* createWriter(std::string path)
Parameters
| Name | Type | Description |
|---|---|---|
| path | std::string | path to the file |
Returns
PrintWriter*Related
Under the Hood
From Processing.h:
static PrintWriter* createWriter(const std::string& path);
Under the Hood
From Processing.cpp:
PrintWriter* PApplet::createWriter(const std::string& path){ return new PrintWriter(path); }