SpiderPig Posted April 11, 2024 Posted April 11, 2024 Is there an AppendFile function or similar available? Quote
Josh Posted April 11, 2024 Posted April 11, 2024 https://www.ultraengine.com/learn/Stream_Write?lang=cpp 1 Quote Let's build cool stuff and have fun.
Solution SpiderPig Posted April 11, 2024 Author Solution Posted April 11, 2024 Thanks, I just figured it out. I just needed to add a line to an existing file. auto stream = OpenFile(path + "\\Game.log"); if (stream != nullptr) { auto pos = stream->GetSize(); stream->Seek(pos); stream->WriteLine(line.ToString()); stream->Close(); } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.