C ++ – Multi-threaded Programming 2

This is my second article on multi-threaded programming. I highly recommend you to read the previous article before proceeding any further.

Concurrent programming, Parallel programming and Asynchronous programming are often spoken about in the same breath. However they aren’t necessarily similar. It is important to know their distinction and how multi-threading can facilitate their implementation.

Continue reading “C ++ – Multi-threaded Programming 2”

C++ – Be wary of strcat() and strcpy()

strcat() and strcpy() are two functions that work with the c-style strings. While the former concatenates two strings, the latter copies one string into the other. Both these functions have been the reason for multitude of bugs in many applications. Although, they are simple functions to use, most programmers are oblivious to their implementation details which has resulted in quirky and hard-to-debug behaviors in several applications .
Continue reading “C++ – Be wary of strcat() and strcpy()”