|
|
|
8
Nifty way to swap two integers in C (C++) without using a temporary variable. Uses one line of code (3 assignments).
1
I saw a few samples where this was possible in C#, but nothing in C++/CLI. It should be fairly similar but there was one key difference... int instead of IntPtr.
12
Using the Termios library, we can have the user enter a character on the keyboard, without it being displayed on the screen.
0
Osnovne procedure za rad s općenitim binarnim stablom. Implementacija pokazivačima.
10
I was coding a project that used arrays when the lack of a standard foreach in C/C++ got to me. So, I coded this little function to help me. It applies a function that returns int to each element of the array.







