VC++ Gate Designer
Rate this article
0 out of 5


Introduction

This article is based on a project called” Gate Designer”. This is a VC++ application, which will draw a gate in three different sizes (small, medium, Large).  Dialog box is used to input the values. This project will also show you how to develop a basic VC++ application and it upgrades VC++ 6.0 project to Visual Studio 2005 project.


Screen Shot

Background

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



Basic Work Flow Diagram

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


Using the Project

You can open the project both in Visual Studio 6.0 and Visual Studio 2005.

To open the project in Visual Studio 6.0:
  1. Open the project folder and explore “.dsw” extension file.
  2. Click “Build All” button to compile the project and then click the “Execute” button to display the output.
  3. You can view and edit the project as the main source code is given in in ‘CGateDesignerView and CGateDesigner View Dlg’ classes.
To open the project in Visual Studio 2005:
  1. Open the project folder and explore “.sln” extension file.
  2. Click “Build Project” button from “Build” Menu to compile the project and then click “Start Debugging” button from “Debug” Menu to display the output.


Points of Interest

Some of the used features and classes of VC++ in this project are: MFC App Wizard, Single Document Interface , SDI Application, CWinApp, CView, CDocument,  CFrameWnd , CString, CDC , CDialog, CComboBox , Visual Studio 6.0,Visual Studio 2005,Graphics.



History

24/04/2012 - Article Created


Please download the source code and the associated project binaries form the below link and try experimenting with the source code and binaries.






Gate Designer Source

Gate Designer Binaries

Joined Date :03-Apr-2012
Articles
Posted
3
Messages
Posted
0

   
Messages
Posted:
Post Your Comments
Name (Max 50 Chars)
Comments
   Design  HTML

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud