Hi!
I have the code already-written in C#, but since I am creating a 3DS Homebrew App, I need it to be written in C++.
Here's my C#:
using (BinaryReader br = new BinaryReader(File.OpenRead("path")))
{
br.BaseStream.Seek(0xAC, SeekOrigin.Begin);
var bytes = br.ReadBytes(4);
string result = Encoding.UTF8.GetString(bytes);
}
Could anyone please re-write (or convert) this code into C++ Code?
Thanks
I have the code already-written in C#, but since I am creating a 3DS Homebrew App, I need it to be written in C++.
Here's my C#:
using (BinaryReader br = new BinaryReader(File.OpenRead("path")))
{
br.BaseStream.Seek(0xAC, SeekOrigin.Begin);
var bytes = br.ReadBytes(4);
string result = Encoding.UTF8.GetString(bytes);
}
Could anyone please re-write (or convert) this code into C++ Code?
Thanks