platform-independent
How to make sure the size of a floating point is the same across platforms?
I\'m writing software that has to work on different platforms. It uses floating point numbers. On all platfo开发者_如何学Gorms, the floating point numbers have to be the same size in memory.[详细]
2023-04-07 01:09 分类:问答How to run a script and not wait for it in Perl?
I have a system call in Perl that looks like this: system(\'/path/to/utility >> /redirect/to/log file\');[详细]
2023-04-04 03:05 分类:问答C/C++: Platform independent way to handle structs and bitfields
I\'m working on a project to convert an ancient Solaris (sparc) targeted application to Linux.The language is C/C++, and most of the code was written by electronics engineers -- that is, people who do[详细]
2023-03-31 15:31 分类:问答Streaming data from C++ program?
I want to stream some data from my program for other subscribers (other programs). These programs can use these data as streaming event.[详细]
2023-03-22 16:58 分类:问答Platform independant ways of hiding console when program runs
Im looking for a way to hide the console (in windows) in my program, and ive found this code: #if defined (__WIN32__)[详细]
2023-03-21 11:25 分类:问答What is the difference between Platform-Independent and Cross-Platform?
I have seen a lot of C/C++ Libraries and Gui Toolkits. Among them there are some like GTK+, Qt , Swing etc. which claim to be platform-independent. While some , like WxWidgets, SWT etc. which claim to[详细]
2023-03-20 19:08 分类:问答Is it possible to use #ifdef like checks in assembler?
I have tested a bit of assembler on Linux using the AT&T syntax.开发者_运维知识库 One thing that struck me was that the book I was reading was written from a 32-bit standpoint. Thus, all sizes wou[详细]
2023-03-13 00:06 分类:问答Platform-independent programmming with Java native code or C++ (QT, WxWidgets etc.)
I am asking myself if it would be easier and more flexible to program a multiplatform a开发者_开发百科pplication in Java and compile it to native binaries (the way Eclipse was written) or to use a cro[详细]
2023-03-07 01:46 分类:问答When is code considered platform-independent?
This question arose as the result of a discussion on the reply to a question about platform-independence of PhysicsFS library. The question is whether particular code could be considered cross-platfor[详细]
2023-02-27 03:32 分类:问答Is PhysicsFS platform-independent?
I\'m thi开发者_如何学Pythonnking about using PhysicsFS in my game engine project, but I\'d like to first make sure it\'s entirely platform-independent. That\'s because I\'d like to port my engine to s[详细]
2023-02-26 06:58 分类:问答