View previous topic :: View next topic |
Author |
Message |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Mon May 19, 2008 2:45 pm Post subject: C++ header files |
|
|
Some time ago, i started learning C++, and i now was trying to look into server/client developing, and making a little chat program
But when i do tutorials, and try to compile simple example sources, i need the "afxwin.h" header file
I've tryed google it, and add it manually, but then it will need another header file, and another, and another...
I added all the header files, but when i finished it gave me an error..., could some1 please help me at this?
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Mon May 19, 2008 3:10 pm Post subject: |
|
|
Use only the main source file?
take #include "afxwin.h" out of the list of includes ?
_________________
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon May 19, 2008 5:03 pm Post subject: |
|
|
afxwin.h is an MFC class header. Are you using a MFC compatible compiler
_________________
|
|
Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Mon May 19, 2008 7:48 pm Post subject: |
|
|
MFC, microsoft foundation class, is a library with "pre-made" classes for Win32 APIs. You need to use a MFC-compatible compiler like Visual C++.
|
|
Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Tue May 20, 2008 2:16 pm Post subject: |
|
|
rapion124 wrote: | MFC, microsoft foundation class, is a library with "pre-made" classes for Win32 APIs. You need to use a MFC-compatible compiler like Visual C++. |
I guess the express edition aint compitable then?
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Tue May 20, 2008 2:47 pm Post subject: |
|
|
I use express and it has MFC. Make sure MFC is turned on in properties of project
_________________
|
|
Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Wed May 21, 2008 9:35 am Post subject: |
|
|
blankrider wrote: | I use express and it has MFC. Make sure MFC is turned on in properties of project |
Im happy to know that it works, i enabled it, but i still need the headers
|
|
Back to top |
|
 |
|