Click here to Skip to main content
Licence 
First Posted 17 Oct 2003
Views 121,779
Bookmarked 30 times

An alternative to VC++ and MFC

By | 17 Oct 2003 | Article
The article describes a platform independent alternative to VC++ and MFC

Sample Image - VisualWx.gif

Introduction

If you are looking for an Open Source Free alternative to the VC++, gcc is the right choice. GCC is the GNU Compiler Collection, which currently contains front ends for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages. It is available for almost all the platforms. Here I will describe the various distributions of gcc and tools for Windows platform. The home page of gcc is at http://gcc.gnu.org/

GCC Distributions

There are two major windows distributions for gcc, CygWin and MingW.

CygWin

Cygwin is a Linux-like environment for Windows. It acts as a Linux emulation layer providing substantial Linux API functionality and it also provides Linux look and feel. In this environment it provides gcc for creating your windows programs.

MingW

MingW is Minimalist GNU For Windows. Following is the description of MingW from there site

MinGW: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party DLLs.

Besides the compiler it includes make tool, resource compiler, Profiler (gprof), strip ( for stripping debug information to make executable's size smaller), debugger, library archiver and many more tools.

Development Environments - DevC++

There are many development environments which can be used for developing with gcc. DevC++ is one of them. It comes with mingW version of gcc. But it can be also used in combination with CygWin. It has nice support for creating projects, source level debugging, profiling etc.

Windows Framework - wxWindows

Using a C++ compiler with a development environment and win32 api calls we can create windows applications. But it is much easier to write programs if we have a Windows Framework like MFC. There are many such platform indendent GUI frameworks available. I personally like wxWindows. It is a MFC type GUI framework and comes with many sample programs to get you started. A dialog editor also comes with it to visually create dialogs. Various libraries like jpeg, tiff, zlib , png and regular expression are also included with it.

A tool named visualWx is available freely which lets you create GUI applications visually for wxWindows. The screenshot at the top shows this tool. It has support for wxWindows for c++, python and perl.

Conclusion

Using the combination of a free compiler (gcc), a development environment (DevC++) , A GUI Framework (wxWindows) and a visual GUI editor (visualWx) we can find a platform independent alternative to Microsoft's Visual C++.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Gurvinder Singh

Web Developer

Cyprus Cyprus

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralCodeBlocks - By far best free GUI PinmemberJohn M. Drescher1:50 25 Jul '07  
GeneralVisualWx gives me errors! PinsussAnonymous10:00 5 Sep '05  
GeneralRe: VisualWx gives me errors! PinmemberDarth_Sulfur10:06 5 Sep '05  
Generaleclipse/CDT Pinmemberhiron3hiron5:30 21 Apr '05  
GeneralRe: eclipse/CDT Pinmemberbenjamin2312:56 26 Mar '08  
GeneralResources PinsussAnonymous11:17 20 May '04  
GeneralRe: Resources PinsussAnonymous8:43 3 Aug '04  
GeneralGood shed of light PinmemberAnthony_Yio16:42 4 Dec '03  
GeneralReal world coding examples PinmemberMichael P Butler22:32 19 Oct '03  
GeneralRe: Real world coding examples PinmemberKochise23:25 19 Oct '03  
GeneralRe: Real world coding examples PinmemberGurvinder Singh16:58 20 Oct '03  
GeneralAutomated apllication code generation ? PinmemberKochise23:47 21 Oct '03  
GeneralRe: Real world coding examples PinmemberJohn M. Drescher5:42 20 Oct '03  
GeneralRe: Real world coding examples PinmemberGurvinder Singh17:01 20 Oct '03  
GeneralRe: Real world coding examples PinmemberJohn M. Drescher17:07 20 Oct '03  
GeneralTry sourceforge.net PinmemberTW22:33 22 Oct '03  
QuestionWhat about Qt ? PinmemberSébastien Lorion10:45 19 Oct '03  
AnswerRe: What about Qt ? PinmemberGisle Vanem12:05 19 Oct '03  
AnswerRe: What about Qt ? PinmemberNeville Franks12:13 19 Oct '03  
GeneralRe: What about Qt ? PinmemberSébastien Lorion16:26 19 Oct '03  
GeneralRe: What about Qt ? PinmemberClaudius Mokler23:12 19 Oct '03  
GeneralOpera is based on QT ! PinmemberKochise23:28 19 Oct '03  
GeneralRe: Opera is based on QT ! PinmemberClaudius Mokler23:43 19 Oct '03  
GeneralRe: What about Qt ? PinmemberEpicBoy9:48 20 Oct '03  
GeneralRe: What about Qt ? PinmemberJim Crafton4:08 20 Oct '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 18 Oct 2003
Article Copyright 2003 by Gurvinder Singh
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid