IOStream can now be open on a file and write into it.
This commit is contained in:
@@ -45,5 +45,9 @@ void Compile()
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
auto* stream = IOFromFile(ConstString("XF"), ConstString("w"));
|
||||
|
||||
IOPrintf(stream, ":)");
|
||||
IOPrintf(stream, "%d%s", 1234, "Hello World!");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user