有人可以推荐一本关于便携式 C/C 开发的书吗?代码?

发布于 2024-12-29 02:02:58 字数 588 浏览 4 评论 0原文

可能的重复:
权威 C++ 书籍指南和列表

我面临着以下问题可移植代码开发(C 或 C++)。 有人可以告诉我哪本书可以帮助解决这个问题吗?

已编辑:

其实我不知道平台的类型。我被要求写一个简单的程序。该程序必须是可移植的。我不是这个问题的专家。我不明白这意味着什么以及我应该做什么。

已编辑

这是一篇专门讨论此问题的文章: http://www.feyrer.de/PGC/Fighting_the_Lemmings.pdf 据我了解,这个问题是真实存在的。 我想在编写程序之前研究这个问题。

Possible Duplicate:
The Definitive C++ Book Guide and List

I am faced with the problem of portable code development (C or C++).
Could somebody advise me which book could help in this question?

Edited:

Actually I don't know the types of platforms. I was asked to write a simple program. This program must be portable. I am not expert in this question. I don't understand what it means and what should I do.

Edited

Here is an article devoted to this problem:
http://www.feyrer.de/PGC/Fighting_the_Lemmings.pdf
As I understood, the problem is real.
I'd like to research this question before writing my program.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

溇涏 2025-01-05 02:02:58

便携到什么程度才算便携?您的意思只是 Windows/Linux 还是您的意思是它还必须移植到 8051 uProc?

C 标准库和 C++ 几乎到处都得到很好的支持。某些 C++11 功能并未在所有编译器上实现 - 但常见的功能却已实现。

当你想与操作系统或硬件中的任何东西进行对话时,棘手的部分就出现了——此时可能值得使用 Qt 或 WxWidgets 之类的东西——或者坚持使用 Boost。

How 'portable' is portable? DO you mean just Windows/Linux or do you mean it must also port to an 8051 uProc?

The C standard library and C++ are pretty much well supported everywhere. Some C++11 features aren't implemented on all compilers - but the common ones are.

The tricky part comes when you want to talk to anything in the OS or hardware - at which point it might be worth just using something like Qt or WxWidgets - or sticking to Boost.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文