Recently while giving a basic training course on VC++, I felt the need to develop a short VC++ video tutorial in the form of a sample project called “ShapesExample” to help reinforce the concepts taught in the training session. This project will show you how to develop a basic VC++ application which will receive some input from the dialog and display some of the basic primitive shapes (Like circle, square, line) and text based on the user selection form the Dialog. The ShapesExample tutorial will also explain how to upgrade a VC++ 6.0 project to Visual Studio 2005 and use some of the features in VS 2005.

ShapesExample Screen shots

Background

This article assumes that you have some basic knowledge in C++ concepts like class , member variables, constructor, virtual function etc.

Basic Work Flow Diagram

The basic steps which I used in the development of the VC++ program are given below.

Using the Project

The basic usage of the Visual studio IDE and some of the MFC libraries are illustrated in the 3 part video series given below.

Part 1 – Developing the Basic VC++ Skeleton Graphical User Interface

Part 2 – Draw the basic shapes based on the User inputs

Part 3 – Upgrade the VC++ 6.0 projects to VS 2005

Please download the source code and the associated project binaries form the below link and try experimenting with the source code and binaries so that you will get a feel of what is discussed in this tutorial.

Mr. Tom is the Co-Founder and CTO of KTS InfoTech. He started his career as a C/C++ programmer in the late 90's and has been very active and passionate in programming since then. He had worked both in start-ups ( Infortech software Pvt Ltd) as well as in CMM Level 5 companies (NeST and Wipro Technologies) for clients like General Electric, Agilent, Hitachi, Toshiba, Fujitsu, Alcatel, Insurance Service Corporation etc. His experience as an Engineer, Architect, Project Manager, Chief Technical Officer and as a Teacher makes him ideal for any type of jobs related to Information Technology.

His role with his present employer includes exploring new business opportunities and partnerships, Developing software product frameworks, developing and executing marketing strategies for company products etc.

He holds Masters degree in Physics and Computer Science formCUSAT , one of the premier Science and Technology Institutions in India.