Free copies of “C++ Application Development with Code::Blocks”!

Packt Publishing are offering free copies of “C++ Application Development with Code::Blocks” in exchange for a review either on your blog or on the title’s Amazon page.

Here’s the blurb:

  • Successfully install and configure Code::Blocks for C++ development
  • Perform rapid application development with Code::Blocks
  • Work with advanced C++ features including code debugging and GUI toolkits

C++ developers who wish to use Code::Blocks to create applications with a consistent look and feel across multiple platform, this is a good way to bag yourself a free guide.

Limited number of Free review copies are available until 27th Jan 2014.

If you’re interested, please email Harleen Bagga at: harleenb [AT] (replace [AT] with ‘@’ )

My Book – C++ Application Development with Code::Blocks

I’m glad to announce that my book, “C++ Application Development with Code::Blocks”, has been published by Packt Publishing.

This book is suitable for developers who are familiar with C++ and wishes to learn application development with Code::Blocks. This book will also be helpful to the pro users.

My book is available as eBook and paperback edition. It is currently available worldwide via several vendors.

Looking forward to your comments / suggestions!

Low Memory CentOS Installation

CentOS is a free, enterprise grade Linux distribution. As a server CentOS is a great choice due to it’s stability and long term support.

However CentOS installer requires a minimum of 378 MB ram for installation. This tutorial aims at such virtual servers which comes with less memory.

The process is pretty simple.

  1. Install CentOS on source server.
  2. Prepare Target server.
  3. Copy all files to target server.
  4. Modify settings on target server.
  5. Post-Install Steps.

Continue reading

How to Use Correct MSVC Runtime?

There are several posts in Code::Blocks forum where user faced linking errors due to incorrect use of Microsoft(TM) C/C++ Compiler (MSVC) and corresponding C/C++ runtime. In this post I’ll explain how to use correct compiler and linker flags to avoid such errors.

Let’s start with a simple test project to demonstrate the problem. I have two ‘C’ files – add.c and main.c. First file will be compiled into a static library – add.lib. A corresponding header file will be add.h. Subsequently main.c will be linked against this static library.
Continue reading

Code::Blocks-12.11 Mirror

Code::Blocks 12.11 was released on 6th December 2012.

It comes with a lot of improvements, new features. It can be downloaded from official Code::Blocks mirror at

However I find official mirror is too slow for many peoples including myself. So I decided to mirror them on my server. All release files and source tarballs can be downloaded from the following link.

Packages have been grouped as per OS. Let me know if there are any issues with the mirror.

Read-only Git, SVN Repo for Code::Blocks

Last month Berlios svn repo service was very unstable. Lack of access to repo is really frustrating, especially when we check repo for changes several times every day.

From now on I’ll be hosting a mirror of Code::Blocks repo on my server. This will give read-only access to everyone. I’m also hosting a read-only Git repo. This will give us access to Git repo to everyone who loves Git (including myself).
Continue reading

GCC-4.4.0-MinGW Binary

Edited (12-February-2012):
The download links do not work anymore. I also do not have a copy of those files. If you need a recent GCC build head over to website.

GCC-4.4.0 has been released recently. I have managed to compile it as a MinGW build and I want to share that with others. The package can be downloaded from the following links. Please download both the files and extract them to C:\MinGW folder. Then extract Win32API, MinGW Runtime, pthreads-win (If you want to use OpenMP) package to the same folder. Now you’ll be able to use gcc-4.4 on Windows.

Download Links: Continue reading