Program portability

后端 未结 12 1272
栀梦
栀梦 2020-12-30 04:26

How to make sure that my program will be fully portable?

12条回答
  •  猫巷女王i
    2020-12-30 04:39

    Develop on the most restrictive compilation environment. Use the smallest set of features from C++. Split the platform-dependent portions of code into separate files. Develop a configuration (make) environment for each platform, as part of the software package.

提交回复
热议问题