c++ Programming Glossary: portable
Finding current executable's path without /proc/self/exe http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe file Windows GetModuleFileName with hModule NULL The portable but less reliable method is to use argv 0 . Although it could..
How do I convert between big-endian and little-endian values in C++? http://stackoverflow.com/questions/105252/how-do-i-convert-between-big-endian-and-little-endian-values-in-c is why I chose it . However there are other very good more portable answers here. c c endianness share improve this question..
Case insensitive string comparison in C++ http://stackoverflow.com/questions/11635/case-insensitive-string-comparison-in-c methods you present are they Unicode friendly Are they portable c string share improve this question Boost includes a handy..
What open source C++ static analysis tools are available? [closed] http://stackoverflow.com/questions/141498/what-open-source-c-static-analysis-tools-are-available option Weffc for GNU g from answers What are some other portable open source C static analysis tools that anyone knows of and..
Why copy constructor is not called in this case? http://stackoverflow.com/questions/1758142/why-copy-constructor-is-not-called-in-this-case a result of compiler optimization or some documented and portable feature of C Thanks. c constructor copy constructor share..
What should main() return in C and C++? http://stackoverflow.com/questions/204476/what-should-main-return-in-c-and-c argc char argv Is char envp as a third argument to main portable Must the int main function return a value in all compilers ..
Is it possible to write a C++ template to check for a function's existence? http://stackoverflow.com/questions/257288/is-it-possible-to-write-a-c-template-to-check-for-a-functions-existence tested it with Linux and gcc 4.1 4.3. I don't know if it's portable to other platforms running different compilers. share improve..
Can I use a binary literal in C or C++? http://stackoverflow.com/questions/2611764/can-i-use-a-binary-literal-in-c-or-c i.e. print out a number in binary form you can use the non portable itoa function or implement your own . Unfortunately you cannot..
When and why will an OS initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete? http://stackoverflow.com/questions/370195/when-and-why-will-an-os-initialise-memory-to-0xcd-0xdd-etc-on-malloc-free-new will result in exceptions showing in the debugger. How portable is this c c memory memory management share improve this question..
What are Aggregates and PODs and how/why are they special? http://stackoverflow.com/questions/4178175/what-are-aggregates-and-pods-and-how-why-are-they-special of the object. So if you want to write a more or less portable dynamic library that can be used from C and even .NET you should..
C/C++: Capture characters from standard input without waiting for enter to be pressed http://stackoverflow.com/questions/421860/c-c-capture-characters-from-standard-input-without-waiting-for-enter-to-be-pr
Why can templates only be implemented in the header file? http://stackoverflow.com/questions/495021/why-can-templates-only-be-implemented-in-the-header-file The C standard library a tutorial and handbook The only portable way of using templates at the moment is to implement them in..
How to convert a number to string and vice versa in C++ http://stackoverflow.com/questions/5290089/how-to-convert-a-number-to-string-and-vice-versa-in-c functions because they are non standard and therefore not portable. Use string streams #include sstream include this to use string..
Compilers and argument order of evaluation in C++ http://stackoverflow.com/questions/621542/compilers-and-argument-order-of-evaluation-in-c in this sense means something you cannot count on non portable behavior. I don't have the C spec draft handy but it should..
WChars, Encodings, Standards and Portability http://stackoverflow.com/questions/6300804/wchars-encodings-standards-and-portability and agreed upon with one exception. The bridge between the portable encoding agnostic world of C with its wchar_t portable character.. the portable encoding agnostic world of C with its wchar_t portable character type and the deterministic outside world is iconv.. wstring s ... Is this the right way to write an idiomatic portable universal encoding agnostic program core using only pure standard..
What's “wrong” with C++ wchar_t and wstrings? What are some alternatives to wide characters? http://stackoverflow.com/questions/11107608/whats-wrong-with-c-wchar-t-and-wstrings-what-are-some-alternatives-to-wide text handling or as storage for locale independent text. Portable code should not attempt to use it for these purposes. Non portable..
How to detect that a given PE file (exe or dll) is 64 bit or 32 bit http://stackoverflow.com/questions/1153090/how-to-detect-that-a-given-pe-file-exe-or-dll-is-64-bit-or-32-bit the 'Machine' field from there. Specification Microsoft Portable Executable and Common Object File Format Specification .docx..
Portable Compare And Swap (atomic operations) C/C++ library? http://stackoverflow.com/questions/1158374/portable-compare-and-swap-atomic-operations-c-c-library Compare And Swap atomic operations C C library Is there any..
What is the Fastest Method for High Performance Sequential File I/O in C++? http://stackoverflow.com/questions/1201261/what-is-the-fastest-method-for-high-performance-sequential-file-i-o-in-c of the OS's knowledge of how the disk actually being used. Portable if you use a wrapper not an OS specific API call . Try and linearize..
UTF8 to/from wide char conversion in STL http://stackoverflow.com/questions/148403/utf8-to-from-wide-char-conversion-in-stl
Best open XML parser for C++ [closed] http://stackoverflow.com/questions/170686/best-open-xml-parser-for-c Supports UTF 8 and partially UTF 16 UTF 32 encodings. Portable source code with no dependencies other than a very small subset..
What is the best encryption library in C/C++? [closed] http://stackoverflow.com/questions/180870/what-is-the-best-encryption-library-in-c-c this question We've used OpenSSL with good success. Portable standards compliant and easy to use. share improve this answer..
Best Portable way to connect to SQL server using c++ http://stackoverflow.com/questions/205802/best-portable-way-to-connect-to-sql-server-using-c Portable way to connect to SQL server using c I want to connect my program..
Crossplatform iPhone / Android code sharing http://stackoverflow.com/questions/2380258/crossplatform-iphone-android-code-sharing
Portable C++ build system http://stackoverflow.com/questions/3349956/portable-c-build-system C build system I'm looking for a good and easy in maintenance..
Portable branch prediction hints http://stackoverflow.com/questions/3702903/portable-branch-prediction-hints branch prediction hints Is there any portable way of doing..
Portable and simple unicode string library for C/C++? http://stackoverflow.com/questions/433301/portable-and-simple-unicode-string-library-for-c-c and simple unicode string library for C C I'm looking for a..
Portable C++ Stack Trace on Exception http://stackoverflow.com/questions/616653/portable-c-stack-trace-on-exception C Stack Trace on Exception I am writing a library that I would..
WChars, Encodings, Standards and Portability http://stackoverflow.com/questions/6300804/wchars-encodings-standards-and-portability Portability and serialization are orthogonal concepts. Portable things are things like C unsigned int wchar_t . Serializable.. . Serializable things are things like uint32_t or UTF 8. Portable means that you can recompile the same source and get a working.. on my Windows desktop on my phone or on my toothbrush. Portable things are internal serializable things deal with I O. Portable..
Convert between string, u16string & u32string http://stackoverflow.com/questions/7232710/convert-between-string-u16string-u32string text handling or as storage for locale independent text. Portable code should not attempt to use it for these purposes. share..
Portable text based console manipulator http://stackoverflow.com/questions/7876241/portable-text-based-console-manipulator text based console manipulator Applications can manipulate..
|