Getting started with C++ Programming

INTRODUCTION

    Though writing programs in C++ is simple, a few things are essential for initiating the development of applications using C++. The basic requirements are:

  • Word Editor: A word editor is an application that allows creating or editing documents. We require an editor to write the actual content of the program.
  • Compiler: A compiler is a computer program which converts a program written in a high-level language to computer-understandable code. In the case of C++, we require the GNU GCC Compiler. More information about GNU GCC Compiler can be read from here.
    In the modern context of industrial-grade programming, we utilize a specialized application called Integrated Development Environment (IDE). IDEs incorporate both the components of Word Editor and Compiler under the same roof, which eases the development process. 

    In the case of C++ development, there are major IDEs which work towards making industrial-grade programs. However, the leaders in C++ IDEs is Code::Blocks. Code::Blocks is a simple IDE which provides an user-friendly GUI for C++ development. This IDE is the best application for beginners to learn and educate themselves on the nuances of C++ Programming, as well as utilizing the powerful integrated IntelliSense capabilities to assist development. 

INSTALLING CODE::BLOCKS

    To start development with Code::Blocks, we will have to install the same in our personal systems. To install the IDE, you can follow the following:
  1. Follow the link to open the Downloads page of Code::Blocks.
     

  2. Once on the page, download the latest version with mingw plugin. The mingw plugin installs the GNU GCC Compiler along with the IDE. The latest version as of 16-09-2022 is 20.03, which can be downloaded here.
  3. Once the setup is downloaded, follow the Setup wizard to install the IDE with the compiler. 

Comments