s********1 发帖数: 581 | 1 C 和 C++ code 在不同的机器上有多大不同?
本人在unix 上开发的C 和 C++ 软件,要转移到 PC 和 Linux 上,要做很大修改吗?
哪里可以查到相应的资料? | f*****Q 发帖数: 1912 | 2 "要做很大修改吗?"
俺根据您这些帖子得出的结论是不需要。 | k**f 发帖数: 372 | 3 It depends.
First, does your unix program use any unix specific libraries? If so, you
need to find out such libraries exist on other platforms.
At the language level, some data types, such as int and size_t, may have
different size on different platforms. If your program somehow depends on
the range of such types, you have to deal with it. | r*********r 发帖数: 3195 | 4 what gui library do u use ? Xt ? Motif ? |
|