1
General / Re: Simple hex arithmetic not yielding expected results.
« on: December 17, 2016, 05:37:06 pm »
Thank you and sorry.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Propably offtop (a bit), sorry.
Do not write monoplatform code if you don't have to do so."C:/binary.txt"This will work only on Windows, use relative paths or typedefs to specify root directory.
std::ios::binaryLinux (and propably any Unix-like system) doesn't really support binary mode. Of course code will work, but files will contain normal, readable data.