Adding read file code
This commit is contained in:
@@ -44,10 +44,13 @@ void Compile()
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
auto* stream = IOFromFile(ConstString("XF"), ConstString("w"));
|
||||
// auto* stream = IOFromFile(ConstString("XF"), ConstString("w"));
|
||||
//
|
||||
// IOPrintf(stream, ":)");
|
||||
// IOPrintf(stream, "%d%s", 1234, "Hello World!");
|
||||
|
||||
IOPrintf(stream, ":)");
|
||||
IOPrintf(stream, "%d%s", 1234, "Hello World!");
|
||||
size_t bytesRead = 0;
|
||||
auto* data = LoadFile(ConstString("XF"),bytesRead );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user