Quote:Original post by Low Bias
Hey, Doynax! I was just in Sweden this past weekend! :)
Neat, you didn't stop by the northern region by any chance?
Can't say I've been to Canada though, not even close..
Quote:Original post by Low Bias
Hey, Doynax! I was just in Sweden this past weekend! :)
Quote:Original post by MiserableShouldn't be a problem for a char-only array though, but yeah.
Keep in mind that structs may be padded for memory alignmnent; you cannot rely on the assumption that all fields are strictly sequential in memory (unless you disable struct padding, which is not necessarily a good idea and is, additionally, non-portable). It is much safer to read member by member.
Quote:Original post by doynaxQuote:Original post by Low Bias
Hey, Doynax! I was just in Sweden this past weekend! :)
Neat, you didn't stop by the northern region by any chance?
Can't say I've been to Canada though, not even close..