Questions about int32

In the bull cow game, we alias int to int32, but that seems wrong, since int is platform dependent and I thought the whole point of the alias was to be platform independent. Shouldn’t we be aliasing it to something like int32_t?

Then, when I look up int32 on Unreal, under remarks, it says 16-bit integer (What???)

Scratching my head

I think it’s a typo in the Unreal documentation. A quick Google shows this https://forums.unrealengine.com/unreal-engine/feedback-for-epic/documentation-feedback/37100-reporting-issues-for-documentation/page19
“All the datatype typedefs have their descriptions mixed up, for example the int types”
"Thank you for pointing that out. A fix has been submitted, so it should show up once it works its way through. "

Privacy & Terms