#include "Leadwerks.h"
using namespace Leadwerks;
int main(int argc, const char *argv[])
{
std::string path = "MyFile.dat";
Stream* stream = FileSystem::WriteFile(path);
if (stream==NULL) Debug::Error("Failed to write file.");
stream->WriteLine("Hello");
System::Print("Stream position: "+String(stream->GetPos()));
stream->Release();
return 0;
}