====== Programming Tipps ====== ===== General C/C++ Programming ===== * Twice the Bits, Twice the Trouble: Vulnerabilities Induced by Migrating to 64-Bit Platforms\\ https://www.tu-braunschweig.de/Medien-DB/sec/pubs/2016-ccs.pdf * Redhat Security Blog: **The trouble with snprintf** (by Florian Weimer)\\ https://securityblog.redhat.com/2014/03/12/the-trouble-with-snprintf/ * **How to C in 2016**\\ https://matt.sh/howto-c * Calling conventions explained: ''__stdcall'', ''__cdecl'', decorated vs. undecorated function names, name mangling, ''extern "C"''\\ http://stackoverflow.com/questions/15660722/why-are-cdecl-calls-often-mismatched-in-the-standard-p-invoke-convention * [[fixed_width_integer_types|Fixed Width Integer Types And Compatibility Issues]] * **C/C++ tip: How to list compiler predefined macros**\\ http://nadeausoftware.com/articles/2011/12/c_c_tip_how_list_compiler_predefined_macros * **Proper handling of SIGINT/SIGQUIT**\\ http://www.cons.org/cracauer/sigint.html * Windows **FILETIME** structure vs. **LARGE_INTEGER** and **ULARGE_INTEGER** unions\\ https://msdn.microsoft.com/de-de/library/windows/desktop/ms724284%28v=vs.85%29.aspx (FILETIME)\\ https://msdn.microsoft.com/de-de/library/windows/desktop/aa383713%28v=vs.85%29.aspx (LARGE_INTEGER)\\ https://msdn.microsoft.com/de-de/library/windows/desktop/aa383742%28v=vs.85%29.aspx (ULARGE_INTEGER) ===== wxWidgets ===== * **wxWidgets** Example Program\\ http://docs.wxwidgets.org/trunk/overview_helloworld.html * **WiX Toolset** - Create Windows Installation Packages\\ http://wixtoolset.org/\\ https://www.firegiant.com/wix/tutorial/getting-started/the-software-package/ ===== Miscellaneous ===== ==== Brainfuck ==== An esoteric programming language. * https://en.wikipedia.org/wiki/Brainfuck * https://de.wikipedia.org/wiki/Brainfuck ==== Abject-Oriented Programming ==== A satiric description of **bad** programming practices * http://typicalprogrammer.com/abject-oriented/ * https://www.reddit.com/r/programming/comments/1pseea/introduction_to_abjectoriented_programming/ ---- --- //[[martin.burnicki@burnicki.net|Martin Burnicki]] 2016-07-19 13:39//