Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ header files

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Mon May 19, 2008 2:45 pm    Post subject: C++ header files Reply with quote

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
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon May 19, 2008 3:10 pm    Post subject: Reply with quote

Use only the main source file?
take #include "afxwin.h" out of the list of includes ?

_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon May 19, 2008 5:03 pm    Post subject: Reply with quote

afxwin.h is an MFC class header. Are you using a MFC compatible compiler
_________________
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Mon May 19, 2008 7:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue May 20, 2008 2:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Tue May 20, 2008 2:47 pm    Post subject: Reply with quote

I use express and it has MFC. Make sure MFC is turned on in properties of project
_________________
Back to top
View user's profile Send private message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Wed May 21, 2008 9:35 am    Post subject: Reply with quote

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 Sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites