I'm a Physics major at school, and they taught us a bit of C/C++ without really teaching us how to make good code. The question I have is it's common for us to have multiple objects that have similar ...
Structs have a slightly complicated syntax, but if you follow how they work it all makes sense. We have already met the array, which is a block of memory used to store a repeated type - i.e. an int ...
I'm trying to write a multiplayer game, and have set up a struct to hold my packet data. This struct is about 140 bytes in size, and sometimes doesn't send all in one go. Does anyone know how to type ...