IOStream can now be open on a file and write into it.

This commit is contained in:
2025-03-05 22:49:57 -05:00
parent 231fea81dd
commit 5fd3fc75eb
5 changed files with 282 additions and 8 deletions

View File

@@ -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;
}