Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCopy Constructors & operator= when using pointers Pin
John Cruz16-Mar-02 3:13
John Cruz16-Mar-02 3:13 
GeneralRe: Copy Constructors & operator= when using pointers Pin
Paul M Watt16-Mar-02 6:30
mentorPaul M Watt16-Mar-02 6:30 
GeneralSDK problem! Pin
hph16-Mar-02 3:13
hph16-Mar-02 3:13 
GeneralRe: SDK problem! Pin
Nish Nishant16-Mar-02 3:17
sitebuilderNish Nishant16-Mar-02 3:17 
GeneralRe: SDK problem! Pin
Peter Liddle16-Mar-02 9:25
Peter Liddle16-Mar-02 9:25 
GeneralSimple question Pin
John Cruz16-Mar-02 1:41
John Cruz16-Mar-02 1:41 
GeneralRe: Simple question Pin
Stan Shannon16-Mar-02 1:49
Stan Shannon16-Mar-02 1:49 
GeneralRe: Simple question Pin
John Cruz16-Mar-02 2:05
John Cruz16-Mar-02 2:05 
that worked but i still cant figure out the bug in my function. it returns both the row and column but it wont set the value.

here is where i call the previous function...

// Handles all the moves done by the computer
void CChildView::ComputerMove()
{
// Set to default values
int row = 0, col = 0;

// Check for a possible move
mpComputer->CheckForMoves(MAXDEPTH,Lose,Win,row,col); <-- this returns
// both the row and column but the following function wont work
// though the row and column is 1...

mpComputer->SetMove(row,col); <-- wont work...

Invalidate();
}

when i comment out this: CBoard Board = *mpBoard;
the whole function works just fine.... can anyone help me Frown | :( well, anways, thank you for your help... in advance Smile | :)
GeneralRe: Simple question Pin
Stan Shannon16-Mar-02 2:27
Stan Shannon16-Mar-02 2:27 
GeneralRe: Simple question Pin
John Cruz16-Mar-02 2:29
John Cruz16-Mar-02 2:29 
GeneralRe: Simple question Pin
CDuddley16-Mar-02 13:24
CDuddley16-Mar-02 13:24 
GeneralRe: Simple question Pin
John Cruz16-Mar-02 14:51
John Cruz16-Mar-02 14:51 
GeneralFocus Pin
meirav15-Mar-02 23:36
meirav15-Mar-02 23:36 
GeneralRe: Focus Pin
Mazdak16-Mar-02 0:01
Mazdak16-Mar-02 0:01 
GeneralRe: Focus Pin
Nish Nishant16-Mar-02 1:02
sitebuilderNish Nishant16-Mar-02 1:02 
GeneralVC++ 6.0 string bug ? (take a look plz) Pin
Lockhart15-Mar-02 22:43
Lockhart15-Mar-02 22:43 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Christian Graus15-Mar-02 22:53
protectorChristian Graus15-Mar-02 22:53 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Lockhart15-Mar-02 23:50
Lockhart15-Mar-02 23:50 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Christian Graus15-Mar-02 23:59
protectorChristian Graus15-Mar-02 23:59 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Neville Franks16-Mar-02 0:33
Neville Franks16-Mar-02 0:33 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Lockhart16-Mar-02 1:14
Lockhart16-Mar-02 1:14 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Lockhart16-Mar-02 1:03
Lockhart16-Mar-02 1:03 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Christian Graus16-Mar-02 1:06
protectorChristian Graus16-Mar-02 1:06 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Lockhart16-Mar-02 1:09
Lockhart16-Mar-02 1:09 
GeneralRe: VC++ 6.0 string bug ? (take a look plz) Pin
Nish Nishant16-Mar-02 1:05
sitebuilderNish Nishant16-Mar-02 1:05 

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.