Link to home
Start Free TrialLog in
Avatar of mbormann
mbormann

asked on

Free MFC/ Windows C/C++ compiler?

Hi:
I just want to change a few things from time to time, and was wondering what is out there?

All the compiler be able to do is accept a VC++ project and generate a .exe. I tried LCC, Bloodshed, Digital and they all seem to have a format of their own..

Since I have been off programming for a long while I would appreciate anyone who can tell me that.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of TheFriend
TheFriend

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DanRollins
Mnay VC++ projects use MFC class objects.  In that case, the Borland filth will fail.  but if the code is really pure, using only std C++ and WinAPI calls, then Borland might work.

-- Dan
Avatar of mbormann
mbormann

ASKER

Is there nothing like VC++ out there? I have no idea how to include the standard afxres.h, windows.h in the compiler. Where can I get it please ?

THanks
afxres.h is specific to VC++; it is used by built-in MFC objects such as File menu on SDI apps.

Windows.h declares all Windows API fns and constants.  All compilers that claim to be able to create Windows program will have this file.  You can download it as part of the Windows SDK here:

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

I doubt if that will help you much.  Sorry.  Your best bet is to just purchase a copy of VC++

-- Dan
Watcom C++ recently went freeware. The last version I worked with came with MFC support - so you should be able to compile an MFC project (however, I don't know if it can import the project file directly, or if you have to create the Watcom C++ project on your own)

peter
To peterchen

How is Watcom C++ now? It used to be the best in the industry about 9-10 years ago. And it was my favorite.
(sorry to use this thread for sucha question but I don't have peterchan email address and I am very nostalgic about Watcom)
Watcom?  What about Lifeboat?  Microsoft's first C compiler was just a re-branded license of Lifeboat.  I spoke with the founder at Comdex.  He said:  I work a lot these days... but only for fun :)

-- Dan
Dan! shame on you... ;)
TheFriend: Dunno much, last version I worked with vas 11.0 (and I dearly hope this is not 10 years ago) But I agree with you, the feelings are almost nostalgic...
Sorry guys, I will evaluate and give points to multiple people. I have been away from home.

Thanks
I finally used free borland compiler.

Thanks to all for participating.
Watcom C/C++ is awesome, especially now that they went OpenSource... (http://www.openwatcom.org).

I've used the new OpenWatcom 1.0 and it's very good, the IDE is awesome.