当前位置: 首页 > 工具软件 > vc-platform > 使用案例 >

Best Practice of cross-platform games

潘灵均
2023-12-01

Best Practice of cross-platform games

__super keyword

this keyworld is offered only by Microsoft VC. So you had to call the very name of parent class, instead of __super.

folder separator

"\"is the separator of windows. For cross-platform games, you must use "/" in all sources.

standard C library & STL

Use standard C library & STL instead of the particular APIs of each platform.
Note that some functions seem like the members of standard C library, but actually they aren't.  Such as:
itoa, _isnan

 类似资料:

相关阅读

相关文章

相关问答