C++ not reading in integers: Windows vs Mac error?
Nov 6, 2009 - 1 minutesWell I was doing some homework today in XCode and ran across a strange error…
Assume the first line of the file is an integer, lets say 127
You would think, on both windows and mac this would store 127 in number. Only on windows. On my mac it would read in 0 as the value.
On mac (specifically in xcode) to get that number…
Interesting little bug, or perhaps design choice?