Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A dll that contains an executable. Pin
David Crow17-Sep-04 8:26
David Crow17-Sep-04 8:26 
GeneralEdit box and associated CString Pin
Imtiaz Murtaza15-Sep-04 5:00
Imtiaz Murtaza15-Sep-04 5:00 
GeneralRe: Edit box and associated CString Pin
David Crow15-Sep-04 5:13
David Crow15-Sep-04 5:13 
GeneralRe: Edit box and associated CString Pin
RChin15-Sep-04 5:17
RChin15-Sep-04 5:17 
Generalfunction problem Pin
ISUstudent15-Sep-04 4:25
ISUstudent15-Sep-04 4:25 
GeneralRe: function problem Pin
David Crow15-Sep-04 4:49
David Crow15-Sep-04 4:49 
GeneralRe: function problem Pin
ISUstudent15-Sep-04 4:51
ISUstudent15-Sep-04 4:51 
GeneralRe: function problem Pin
David Crow15-Sep-04 5:10
David Crow15-Sep-04 5:10 
Based on this this picture, you should have a 6-row by 7-column board. That said, you could have something like:

int nColumn;
cout << "What column do you want to drop a chip in (1-7)? ";
cin >> nColumn;
 
for (int nRow = 0; nRow < 6; nRow++)
{
    // if the cell is empty, fill it
    if (' ' == board[][])
    {
        board[][] = 'X';
        break;
    }
}
I'll leave the two [][] for you to conquer.


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: function problem Pin
David Crow24-Sep-04 6:06
David Crow24-Sep-04 6:06 
GeneralRe: function problem Pin
Anonymous24-Sep-04 6:57
Anonymous24-Sep-04 6:57 
GeneralLinkedList Template - LNK2019 Pin
Milby00715-Sep-04 4:06
Milby00715-Sep-04 4:06 
GeneralRe: LinkedList Template - LNK2019 Pin
David Crow15-Sep-04 4:44
David Crow15-Sep-04 4:44 
GeneralRe: LinkedList Template - LNK2019 Pin
Milby00715-Sep-04 5:08
Milby00715-Sep-04 5:08 
GeneralRe: LinkedList Template - LNK2019 Pin
jmkhael15-Sep-04 5:04
jmkhael15-Sep-04 5:04 
GeneralRe: LinkedList Template - LNK2019 Pin
Milby00715-Sep-04 5:20
Milby00715-Sep-04 5:20 
GeneralRe: LinkedList Template - LNK2019 Pin
Bob Stanneveld15-Sep-04 6:31
Bob Stanneveld15-Sep-04 6:31 
QuestionWhat does *.hpp mean? Pin
mcgahanfl15-Sep-04 2:41
mcgahanfl15-Sep-04 2:41 
AnswerRe: What does *.hpp mean? Pin
David Crow15-Sep-04 2:50
David Crow15-Sep-04 2:50 
AnswerRe: What does *.hpp mean? Pin
markkuk15-Sep-04 3:16
markkuk15-Sep-04 3:16 
AnswerRe: What does *.hpp mean? Pin
Henry miller15-Sep-04 3:45
Henry miller15-Sep-04 3:45 
AnswerThank you Dave, Mark and Henry. Pin
mcgahanfl15-Sep-04 4:34
mcgahanfl15-Sep-04 4:34 
GeneralBizarre Close dialog action Pin
brianwelsch15-Sep-04 2:22
brianwelsch15-Sep-04 2:22 
GeneralRe: Bizarre Close dialog action Pin
Cedric Moonen15-Sep-04 2:35
Cedric Moonen15-Sep-04 2:35 
GeneralRe: Bizarre Close dialog action Pin
brianwelsch15-Sep-04 4:18
brianwelsch15-Sep-04 4:18 
GeneralRe: Bizarre Close dialog action Pin
David Crow15-Sep-04 4:58
David Crow15-Sep-04 4: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.