Click here to Skip to main content
16,011,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: trouble with an if/else statement Pin
bob1697210-Sep-06 8:05
bob1697210-Sep-06 8:05 
AnswerRe: trouble with an if/else statement Pin
Michael Dunn9-Sep-06 20:48
sitebuilderMichael Dunn9-Sep-06 20:48 
QuestionMicrosoft Windows Mouse Zoom Pin
Juan Ker9-Sep-06 19:32
Juan Ker9-Sep-06 19:32 
AnswerRe: Microsoft Windows Mouse Zoom Pin
Juan Ker11-Sep-06 9:55
Juan Ker11-Sep-06 9:55 
QuestionbyTwo problem with UNICODE apps Pin
TommyTooth9-Sep-06 18:47
TommyTooth9-Sep-06 18:47 
QuestionNonsense C++ errors... Pin
Lord Kixdemp9-Sep-06 15:51
Lord Kixdemp9-Sep-06 15:51 
AnswerRe: Nonsense C++ errors... Pin
Christian Graus9-Sep-06 16:24
protectorChristian Graus9-Sep-06 16:24 
GeneralRe: Nonsense C++ errors... Pin
Lord Kixdemp9-Sep-06 16:41
Lord Kixdemp9-Sep-06 16:41 
You mean something like...

<br />
[Game.h]<br />
<br />
#pragma once<br />
<br />
class Player;<br />
#include "Player.h"<br />
<br />
#include "Includes.h"<br />
<br />
class Game<br />
{<br />
	// Main player<br />
	Player mainPlayer;<br />
<br />
	// All the vehicles available for the game<br />
	VehicleType AllVehicles[1];


That gives me:
c:\incoming\war game\sources\Game.h(13) : error C2079: 'Game::mainPlayer' uses undefined class 'Player'

Smells like I'll lose a cookie soon... Frown | :( Thanks!


PS: Christian Graus, do you live here at CP? I don't recall ever having a thread without you in it... Laugh | :laugh:

Windows Calculator told me I will die at 28. Frown | :(

GeneralRe: Nonsense C++ errors... Pin
John M. Drescher9-Sep-06 16:58
John M. Drescher9-Sep-06 16:58 
GeneralRe: Nonsense C++ errors... Pin
Lord Kixdemp9-Sep-06 17:10
Lord Kixdemp9-Sep-06 17:10 
GeneralRe: Nonsense C++ errors... Pin
Christian Graus9-Sep-06 17:27
protectorChristian Graus9-Sep-06 17:27 
AnswerRe: Nonsense C++ errors... Pin
Michael Dunn9-Sep-06 17:18
sitebuilderMichael Dunn9-Sep-06 17:18 
GeneralRe: Nonsense C++ errors... Pin
Lord Kixdemp9-Sep-06 18:41
Lord Kixdemp9-Sep-06 18:41 
GeneralRe: Nonsense C++ errors... Pin
Michael Dunn9-Sep-06 18:54
sitebuilderMichael Dunn9-Sep-06 18:54 
GeneralRe: Nonsense C++ errors... Pin
Lord Kixdemp11-Sep-06 9:33
Lord Kixdemp11-Sep-06 9:33 
Questioncopy data from two buffer into one Pin
venadder9-Sep-06 12:49
venadder9-Sep-06 12:49 
AnswerRe: copy data from two buffer into one Pin
venadder9-Sep-06 13:06
venadder9-Sep-06 13:06 
AnswerRe: copy data from two buffer into one Pin
Justin Tay9-Sep-06 15:23
Justin Tay9-Sep-06 15:23 
AnswerRe: CTyptedPtrList error ! Pin
tanvon malik9-Sep-06 16:39
tanvon malik9-Sep-06 16:39 
QuestionMet problems with my first win32 program Pin
bloodwinner9-Sep-06 11:04
bloodwinner9-Sep-06 11:04 
AnswerRe: Met problems with my first win32 program Pin
Rick York9-Sep-06 11:51
mveRick York9-Sep-06 11:51 
GeneralRe: Met problems with my first win32 program Pin
bloodwinner9-Sep-06 12:33
bloodwinner9-Sep-06 12:33 
GeneralRe: Met problems with my first win32 program Pin
Rick York9-Sep-06 12:41
mveRick York9-Sep-06 12:41 
GeneralRe: Met problems with my first win32 program Pin
TylerD759-Sep-06 13:15
TylerD759-Sep-06 13:15 
GeneralRe: Met problems with my first win32 program Pin
Rick York9-Sep-06 14:36
mveRick York9-Sep-06 14:36 

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

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