Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Mark Salsbery3-Jan-07 18:49
Mark Salsbery3-Jan-07 18:49 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Pradeep.Reddy3-Jan-07 19:48
Pradeep.Reddy3-Jan-07 19:48 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Mark Salsbery4-Jan-07 5:07
Mark Salsbery4-Jan-07 5:07 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Mark Salsbery4-Jan-07 5:08
Mark Salsbery4-Jan-07 5:08 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Pradeep.Reddy4-Jan-07 6:51
Pradeep.Reddy4-Jan-07 6:51 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Mark Salsbery4-Jan-07 7:05
Mark Salsbery4-Jan-07 7:05 
GeneralRe: Getting Error code as 1407 "Cannot find window class." Pin
Mark Salsbery4-Jan-07 7:09
Mark Salsbery4-Jan-07 7:09 
QuestionHelp me with storage problem! Pin
davvid3-Jan-07 6:01
davvid3-Jan-07 6:01 
Hello all ,
I am just new to programming! I want to store the total number(deck[i].value) of several players evth having loop(players depend on user how many want).I tried many ways for that like vector and array.I dont know why I couldnt!Another thing,if user wants more cards,I want to give cards from old deck coz i dont want duplicates. anybody help me to solve out!

    cout<<"how many player u want"<<endl;
cin>>n;
for ( i = 0; i < 3*n; ) {
int urtotal=0;
cout << " player" << n<< '\n';
    for ( int j = 0; i < 56 && j < 3; i++, j++ ){
    cout << deck[i].suit << deck[i].face <<" ";
    urtotal+=deck[i].value;
    }
    cout<<urtotal;
    /*cout<<"want more"<<endl;
    cin>>cond;
    while(cond=='y'){
    urtotal =urtotal+rand()%1;
    }
    if(urtotal>42)
    urtotal=urtotal-30;
    else if(urtotal>31&&urtotal<42)
    urtotal=urtotal-20;
    else if(urtotal>21&&urtotal<32)
    urtotal=urtotal-10;
    cout<<urtotal;*/
    }

AnswerRe: Help me with storage problem! Pin
David Crow3-Jan-07 7:31
David Crow3-Jan-07 7:31 
AnswerRe: Help me with storage problem! Pin
CPallini3-Jan-07 8:20
mveCPallini3-Jan-07 8:20 
GeneralRe: Help me with storage problem! Pin
davvid3-Jan-07 14:47
davvid3-Jan-07 14:47 
QuestionHandle of an item in tree view. Pin
priyank_ldce3-Jan-07 5:07
priyank_ldce3-Jan-07 5:07 
AnswerRe: Handle of an item in tree view. Pin
led mike3-Jan-07 5:54
led mike3-Jan-07 5:54 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:27
Ray Kinsella3-Jan-07 6:27 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:16
led mike3-Jan-07 8:16 
AnswerRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 6:22
Ray Kinsella3-Jan-07 6:22 
GeneralRe: Handle of an item in tree view. Pin
led mike3-Jan-07 8:14
led mike3-Jan-07 8:14 
GeneralRe: Handle of an item in tree view. Pin
Ray Kinsella3-Jan-07 11:15
Ray Kinsella3-Jan-07 11:15 
QuestionMFC /CRecordset Pin
Bravoone_20063-Jan-07 3:13
Bravoone_20063-Jan-07 3:13 
QuestionRe: MFC /CRecordset Pin
David Crow3-Jan-07 4:11
David Crow3-Jan-07 4:11 
AnswerRe: MFC /CRecordset Pin
Hamid_RT3-Jan-07 17:36
Hamid_RT3-Jan-07 17:36 
Questionbeginners inc++ Pin
ellarond3-Jan-07 3:06
ellarond3-Jan-07 3:06 
AnswerRe: beginners inc++ Pin
Hamid_RT3-Jan-07 3:55
Hamid_RT3-Jan-07 3:55 
AnswerRe: beginners inc++ Pin
David Crow3-Jan-07 4:13
David Crow3-Jan-07 4:13 
GeneralRe: beginners inc++ Pin
ellarond3-Jan-07 5:15
ellarond3-Jan-07 5:15 

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.