Click here to Skip to main content
16,007,443 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ATL doubt Pin
Christian Graus2-Mar-02 22:42
protectorChristian Graus2-Mar-02 22:42 
GeneralRe: ATL doubt Pin
Nish Nishant2-Mar-02 23:12
sitebuilderNish Nishant2-Mar-02 23:12 
GeneralRe: ATL doubt Pin
pba_3-Mar-02 2:52
pba_3-Mar-02 2:52 
GeneralRe: ATL doubt Pin
pba_3-Mar-02 3:13
pba_3-Mar-02 3:13 
Questionhow to new a doc in MDI application in programme?? Pin
benben2-Mar-02 17:40
benben2-Mar-02 17:40 
AnswerRe: how to new a doc in MDI application in programme?? Pin
Roger Allen4-Mar-02 1:16
Roger Allen4-Mar-02 1:16 
GeneralHelp writing a game tree for tictactoe Pin
John Cruz2-Mar-02 17:02
John Cruz2-Mar-02 17:02 
GeneralRe: Help writing a game tree for tictactoe Pin
alex.barylski2-Mar-02 18:32
alex.barylski2-Mar-02 18:32 
First of all...whats a game tree...?

Is this like a flowchart or something...?

What AI are you having problems with...determining a win with the active player or the computer making it's moves..?

Recursion will make your game logic IMO doubly hard...a simple double iteration loop would look much nicer on the eyes. Depending on how many times your recursion function is called, this could be very in-efficient. Unless i'm missing something...each time a function is called it pushe s it's params and locals onto a lifo stack, this could cause your stack to grow quite large i'd think.

Can you do it with a loop or MUST you use recursion...?

"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
GeneralRe: Help writing a game tree for tictactoe Pin
John Cruz2-Mar-02 18:50
John Cruz2-Mar-02 18:50 
GeneralRe: Help writing a game tree for tictactoe Pin
alex.barylski2-Mar-02 23:20
alex.barylski2-Mar-02 23:20 
GeneralRe: Help writing a game tree for tictactoe Pin
John Cruz3-Mar-02 0:53
John Cruz3-Mar-02 0:53 
GeneralKeyboard delay time Pin
PJ Arends2-Mar-02 16:29
professionalPJ Arends2-Mar-02 16:29 
GeneralRe: Keyboard delay time Pin
Nish Nishant2-Mar-02 17:37
sitebuilderNish Nishant2-Mar-02 17:37 
GeneralRe: Keyboard delay time Pin
Michael Dunn2-Mar-02 18:59
sitebuilderMichael Dunn2-Mar-02 18:59 
GeneralRe: Keyboard delay time Pin
PJ Arends2-Mar-02 19:28
professionalPJ Arends2-Mar-02 19:28 
GeneralRe: Keyboard delay time Pin
Nish Nishant2-Mar-02 19:24
sitebuilderNish Nishant2-Mar-02 19:24 
GeneralHelp with Array Sort Pin
Loli102-Mar-02 10:41
Loli102-Mar-02 10:41 
GeneralRe: Help with Array Sort Pin
Anders Molin2-Mar-02 11:37
professionalAnders Molin2-Mar-02 11:37 
GeneralRe: Help with Array Sort Pin
Tim Smith2-Mar-02 11:48
Tim Smith2-Mar-02 11:48 
GeneralRe: Help with Array Sort Pin
Nish Nishant2-Mar-02 15:06
sitebuilderNish Nishant2-Mar-02 15:06 
GeneralCListCtrl and Row Height Pin
NodeX2-Mar-02 9:41
NodeX2-Mar-02 9:41 
GeneralRe: CListCtrl and Row Height Pin
alex.barylski2-Mar-02 16:06
alex.barylski2-Mar-02 16:06 
GeneralRe: CListCtrl and Row Height Pin
NodeX2-Mar-02 22:59
NodeX2-Mar-02 22:59 
GeneralRe: CListCtrl and Row Height Pin
Tim Smith3-Mar-02 2:20
Tim Smith3-Mar-02 2:20 
GeneralNeed help with MFC ! ! ! ! Pin
2-Mar-02 8:58
suss2-Mar-02 8:58 

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.