createOutput()

Output / Files

Description

Opens a file for binary writing. Returns a std::ofstream pointer.

Syntax

std::ofstream* createOutput(std::string path)

Parameters

NameTypeDescription
pathstd::stringpath to the file

Returns

std::ofstream*

Related

Under the Hood

From Processing.h:

inline std::ofstream* createOutput(const std::string& path) { return new std::ofstream(path,std::ios::binary); }