Click here to Skip to main content
15,898,877 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionNeed help. Pin
bsaksida26-Dec-06 21:57
bsaksida26-Dec-06 21:57 
AnswerRe: Need help. Pin
prasad_som26-Dec-06 22:23
prasad_som26-Dec-06 22:23 
GeneralRe: Need help. Pin
bsaksida26-Dec-06 22:37
bsaksida26-Dec-06 22:37 
AnswerRe: Need help. Pin
prasad_som26-Dec-06 22:51
prasad_som26-Dec-06 22:51 
GeneralRe: Need help. Pin
bsaksida27-Dec-06 0:18
bsaksida27-Dec-06 0:18 
GeneralRe: Need help. Pin
bsaksida27-Dec-06 0:28
bsaksida27-Dec-06 0:28 
GeneralRe: Need help. Pin
prasad_som27-Dec-06 0:34
prasad_som27-Dec-06 0:34 
QuestionAsking about "State Pattern in C++ Applications" Pin
Benang26-Dec-06 17:19
Benang26-Dec-06 17:19 
Hi, recently I've found this article: State Pattern in C++ Applications. I've got some questions regarding it.

1. I understand the state can change to another from the state itself. And I saw in the demo there's a forward declaration of GameState in GameStateManager. Is this a good practice?

2. If in each state there's a substate, what should I do? Eg. in Opening there's the AttrackState, CreditState, DemoState, etc.

3. If in each state there's an instance to the same pointer of object (e.g. the GameData pointer of object), what should I do?

Thanks.

"I live for my dream. And my dream is to live my life to the fullest."

AnswerRe: Asking about "State Pattern in C++ Applications" Pin
Paul Conrad26-Dec-06 17:54
professionalPaul Conrad26-Dec-06 17:54 
GeneralRe: Asking about "State Pattern in C++ Applications" Pin
Benang26-Dec-06 19:27
Benang26-Dec-06 19:27 
GeneralRe: Asking about "State Pattern in C++ Applications" Pin
Paul Conrad27-Dec-06 15:16
professionalPaul Conrad27-Dec-06 15:16 
Questiondll into exe. Pin
bsaksida26-Dec-06 10:38
bsaksida26-Dec-06 10:38 
QuestionArray help. Pin
bsaksida26-Dec-06 1:29
bsaksida26-Dec-06 1:29 
AnswerRe: Array help. Pin
Dave Doknjas26-Dec-06 12:18
Dave Doknjas26-Dec-06 12:18 
GeneralRe: Array help. Pin
bsaksida26-Dec-06 21:57
bsaksida26-Dec-06 21:57 
QuestionExecute managed function from unmanaged Pin
yoti1126-Dec-06 0:02
yoti1126-Dec-06 0:02 
AnswerRe: Execute managed function from unmanaged Pin
567890123426-Dec-06 2:08
567890123426-Dec-06 2:08 
GeneralRe: Execute managed function from unmanaged Pin
yoti1126-Dec-06 3:08
yoti1126-Dec-06 3:08 
GeneralRe: Execute managed function from unmanaged Pin
567890123426-Dec-06 3:25
567890123426-Dec-06 3:25 
GeneralRe: Execute managed function from unmanaged Pin
yoti1126-Dec-06 6:21
yoti1126-Dec-06 6:21 
Questioncalling String ^ * from C# Pin
ByStorm Software25-Dec-06 17:09
ByStorm Software25-Dec-06 17:09 
AnswerRe: calling String ^ * from C# Pin
bsaksida26-Dec-06 19:47
bsaksida26-Dec-06 19:47 
GeneralRe: calling String ^ * from C# Pin
ByStorm Software27-Dec-06 4:27
ByStorm Software27-Dec-06 4:27 
GeneralRe: calling String ^ * from C# Pin
bsaksida27-Dec-06 4:35
bsaksida27-Dec-06 4:35 
GeneralRe: calling String ^ * from C# Pin
ByStorm Software27-Dec-06 4:42
ByStorm Software27-Dec-06 4:42 

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.