如何在c ++中编写可移植代码? [英] How to write portable code in c++?

查看:141
本文介绍了如何在c ++中编写可移植代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我应该记住编写可移植代码的内容是什么?由于我是一个c ++初学者,我想从头开始练习。

What are the things that I should keep in mind to write portable code? Since I'm a c++ beginner, I want to practice it since beginning.

谢谢。

推荐答案


  • 了解如何使用标准库

  • 书籍(例如这一个

  • 经验丰富,学会使用提升

    • learn to use the standard library
    • read books (eg. this one)
    • when you're experienced, learn to use boost
    • 这篇关于如何在c ++中编写可移植代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆