Deciphering C Gibberish

If you have ever programmed in C or C++, you might have encountered some complex variable declarations like: char *(*(**foo[][8])())[]; or int (*(*foo)(void ))[3] Wouldn't it be great if we could just enter such complex declarations into some program and it could output its meaning in 'plain English' ? For example: Input: char ** const … Continue reading Deciphering C Gibberish


Permanent alias on Windows

If you develop C++ programs on Windows, you might have felt the need to invoke the compiler from the command prompt itself. Its pretty easy to do so; just append the path of the compiler to the PATH environment variable. However, if you decide to invoke it with some compiler/linker options, you'll need to do … Continue reading Permanent alias on Windows