This page is a link page to various tips that I’ve mostly published. in blog entries.
- A fast random-number generator in C.
- atexit – the function that gets called when a program terminates.
- Counting bits in C. An ingenious and totally unintuitive line of code!
- How to calculate how effective a card riffle is. Measuring how far cards move from their original place in the deck.
- How to change the Raspberry Pi timeout period. It’s 10 minutes by default. Make it longer!
- How to create an alphabet image in C#. I’ve used this…
- How to grab one or more screens on a Raspberry Pi. Use scrot.
- How to install VS Codium on a Raspberry Pi. An alternative to Visual Studio Code.
- How to Install WSL2 and Linux on Windows 10. Run Linux in Windows.
- How to run C snippets quickly. Without needing a whole compileable C program.
- How to stop access to Global variables in C. Stopping access to variables declared in other source files.
- How to use Indexed Sequential Access Files. The perfect file storage for C.
- Identifying a Linux system in code. Doing the same as the uname command in code.
- Install Clang and Visual Studio Code on Ubuntu
- Link to genuinely free (i.e. not pirated) programming books on C,C++ and more.
- Logging on Windows – OutputDebugString. How to output debug information in a Windows application and view it.
- MonoGame – How to make a clickable Button.
- Raspberry Pi temperature code. How to read the temperature in c code.
- Return values from constructors. A useful C++ technique.
- sodium – a library for generating cryptographically safe random numbers.
- The missing sgn function. How to program the signum function (aka sgn) in C.
- Two tricks in Visual Studio Code. Matching braces and collapsing code blocks.
- Using Devart’s Code Compare to compare two source files and spot the differences and changes.
- Using printf type variable parameters in your function
- Using recursive fill to count maps. The fastest way to count island squares.
- Using rsyslog to log. How to output debug information in a Linux application.
- Using SDL on Linux. Installing the libsdl game library.
- View disassembled C/C++ code in Visual Studio Code. With the help of an extension.
- Visual Studio Code on ARM. How to install and run on a raspberry-pi.
- Writing your own variadic functions. How to write functions that use …
Free Resources
- Eric Matyas SoundImage.org. An excellent source of music, sound fx and images all for a simple attribution.
(Visited 542 times, 1 visits today)