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

Managed C++/CLI

 
AnswerRe: Class Library Wraps Native dll Pin
Milton Karimbekallil10-May-06 2:30
Milton Karimbekallil10-May-06 2:30 
AnswerRe: Class Library Wraps Native dll Pin
mjmim11-May-06 11:01
mjmim11-May-06 11:01 
QuestionIntegrating vc++ code with c# Pin
Ashraj19828-May-06 20:30
Ashraj19828-May-06 20:30 
AnswerRe: Integrating vc++ code with c# Pin
led mike9-May-06 17:52
led mike9-May-06 17:52 
AnswerRe: Integrating vc++ code with c# Pin
Nish Nishant11-May-06 6:43
sitebuilderNish Nishant11-May-06 6:43 
QuestionHi, I want graphic base code! Pin
duyviet24128-May-06 16:59
duyviet24128-May-06 16:59 
AnswerRe: Hi, I want graphic base code! Pin
led mike8-May-06 17:18
led mike8-May-06 17:18 
QuestionCan anyone explain what this things do? Pin
Junon8-May-06 3:09
Junon8-May-06 3:09 
can anyone tell me what this code do?
Please,
i what to know whats going on here thanks.
specially, inside of for loop.
thanks

bool CheckBoard( int board[9][9] ){

int i, j;
for( i = 0 ; i < 3 ; i++ ){// check small box

for( j = 0 ; j < 3 ; j++ ){

int r = 0;
r |= 1 << board[i*3 + 0][j*3 + 0];
r |= 1 << board[i*3 + 0][j*3 + 1];
r |= 1 << board[i*3 + 0][j*3 + 2];
r |= 1 << board[i*3 + 1][j*3 + 0];
r |= 1 << board[i*3 + 1][j*3 + 1];
r |= 1 << board[i*3 + 1][j*3 + 2];
r |= 1 << board[i*3 + 2][j*3 + 0];
r |= 1 << board[i*3 + 2][j*3 + 1];
r |= 1 << board[i*3 + 2][j*3 + 2];

if( r != 0x3fe )
return false;
}
}

for( i = 0 ; i < 9 ; i++ ){// check row
int r = 0;
for( j = 0 ; j < 9 ; j++ )
r |= 1 << board[i][j];
if( r != 0x3fe )
return false;
}

for( j = 0 ; j < 9 ; j++ ){ // check column
int r = 0;
for( i = 0 ; i < 9 ; i++ )
r |= 1 << board[i][j];
if( r != 0x3fe )
return false;
}

return true;
}

Junon
AnswerRe: Can anyone explain what this things do? Pin
led mike8-May-06 6:13
led mike8-May-06 6:13 
GeneralRe: Can anyone explain what this things do? Pin
Junon8-May-06 6:23
Junon8-May-06 6:23 
AnswerRe: Can anyone explain what this things do? Pin
led mike8-May-06 17:54
led mike8-May-06 17:54 
QuestionHow can I Export DllUnregisterServer in VC++? Pin
Orchid858-May-06 1:23
Orchid858-May-06 1:23 
AnswerRe: How can I Export DllUnregisterServer in VC++? Pin
georgeraafat8-May-06 6:05
georgeraafat8-May-06 6:05 
GeneralRe: How can I Export DllUnregisterServer in VC++? Pin
Orchid858-May-06 20:47
Orchid858-May-06 20:47 
GeneralRe: How can I Export DllUnregisterServer in VC++? Pin
georgeraafat9-May-06 6:02
georgeraafat9-May-06 6:02 
GeneralRe: How can I Export DllUnregisterServer in VC++? Pin
Orchid8510-May-06 0:10
Orchid8510-May-06 0:10 
GeneralRe: How can I Export DllUnregisterServer in VC++? Pin
georgeraafat10-May-06 7:36
georgeraafat10-May-06 7:36 
GeneralRe: How can I Export DllUnregisterServer in VC++? Pin
georgeraafat10-May-06 7:39
georgeraafat10-May-06 7:39 
QuestionRead & Write with one I/O on Windows Serial Device Pin
Bill Sabatine7-May-06 17:11
Bill Sabatine7-May-06 17:11 
AnswerRe: Read & Write with one I/O on Windows Serial Device Pin
Milton Karimbekallil8-May-06 1:48
Milton Karimbekallil8-May-06 1:48 
QuestionNewbie: About passing parameter into a form Pin
kkyeung7-May-06 7:57
kkyeung7-May-06 7:57 
AnswerRe: Newbie: About passing parameter into a form Pin
georgeraafat7-May-06 22:51
georgeraafat7-May-06 22:51 
QuestionError with compiling code.. Pin
ALQallaf6-May-06 13:30
ALQallaf6-May-06 13:30 
AnswerRe: Error with compiling code.. Pin
Milton Karimbekallil7-May-06 2:38
Milton Karimbekallil7-May-06 2:38 
AnswerRe: Error with compiling code.. Pin
Michael Dunn7-May-06 8:48
sitebuilderMichael Dunn7-May-06 8:48 

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.