“Uint32”, “int16” and the like; are they standard c++?

前端 未结 6 798
悲&欢浪女
悲&欢浪女 2021-01-03 19:14

I\'m quite new to c++, but I\'ve got the hang of the fundamentals. I\'ve come across the use of \"Uint32\" (in various capitalizations) and similar data types when reading o

6条回答
  •  被撕碎了的回忆
    2021-01-03 19:35

    Try UINT32 for Microsoft.

    The upper case makes it clear that this is defined as a macro. If you try to compile using a different compiler that doesn't already contain the macro, you can define it yourself and your code doesn't have to change.

提交回复
热议问题