Click here to Skip to main content
15,907,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRunning multiple instance of same thread Pin
sulabh_expert@rediffmail.com16-Feb-07 18:30
sulabh_expert@rediffmail.com16-Feb-07 18:30 
AnswerRe: Running multiple instance of same thread Pin
Gary R. Wheeler17-Feb-07 3:10
Gary R. Wheeler17-Feb-07 3:10 
QuestionError C2057 (expected constant), trying to convert from gcc Pin
Sean Wcisel16-Feb-07 18:04
Sean Wcisel16-Feb-07 18:04 
AnswerRe: Error C2057 (expected constant), trying to convert from gcc Pin
Waldermort16-Feb-07 19:29
Waldermort16-Feb-07 19:29 
AnswerRe: Error C2057 (expected constant), trying to convert from gcc Pin
prasad_som16-Feb-07 19:38
prasad_som16-Feb-07 19:38 
AnswerRe: Error C2057 (expected constant), trying to convert from gcc Pin
Michael Dunn16-Feb-07 22:04
sitebuilderMichael Dunn16-Feb-07 22:04 
AnswerRe: Error C2057 (expected constant), trying to convert from gcc Pin
Sean Wcisel17-Feb-07 7:36
Sean Wcisel17-Feb-07 7:36 
AnswerRe: Error C2057 (expected constant), trying to convert from gcc Pin
David Crow17-Feb-07 16:13
David Crow17-Feb-07 16:13 
Sean Wcisel wrote:
I've got some code from a classmate...


Shame on your classmate for giving you bad code.

int fixAtoi(char myAry[], int arySize)
{
    char myAry2[arySize + 1];             // this array is one larger than myAry
    for (int i = 0; i < arySize + 1; i++) // this loop goes one too many times
    {        
        myAry2[i] = myAry[i];             //  you can't access myAry[10] as it does not exist
    }
}





"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


QuestionSocket Connection help? Pin
murali_utr16-Feb-07 18:04
murali_utr16-Feb-07 18:04 
AnswerRe: Socket Connection help? Pin
Mark Salsbery18-Feb-07 7:34
Mark Salsbery18-Feb-07 7:34 
QuestionHow to get the playtime for a mp3? Pin
chocm16-Feb-07 16:16
chocm16-Feb-07 16:16 
QuestionRe: How to get the playtime for a mp3? Pin
David Crow17-Feb-07 16:16
David Crow17-Feb-07 16:16 
QuestionCompiler versions [modified] Pin
Waldermort16-Feb-07 15:39
Waldermort16-Feb-07 15:39 
AnswerRe: Compiler versions Pin
PJ Arends16-Feb-07 22:31
professionalPJ Arends16-Feb-07 22:31 
GeneralRe: Compiler versions Pin
Waldermort16-Feb-07 22:46
Waldermort16-Feb-07 22:46 
QuestionBITMAP handling for screen Pin
Vancouver16-Feb-07 13:12
Vancouver16-Feb-07 13:12 
AnswerRe: BITMAP handling for screen [modified] Pin
Mark Salsbery16-Feb-07 13:58
Mark Salsbery16-Feb-07 13:58 
GeneralRe: BITMAP handling for screen Pin
Vancouver16-Feb-07 18:04
Vancouver16-Feb-07 18:04 
GeneralRe: BITMAP handling for screen Pin
Waldermort16-Feb-07 19:13
Waldermort16-Feb-07 19:13 
GeneralRe: BITMAP handling for screen Pin
Vancouver17-Feb-07 9:58
Vancouver17-Feb-07 9:58 
GeneralRe: BITMAP handling for screen Pin
Mark Salsbery18-Feb-07 7:12
Mark Salsbery18-Feb-07 7:12 
GeneralRe: BITMAP handling for screen Pin
Vancouver18-Feb-07 7:53
Vancouver18-Feb-07 7:53 
GeneralRe: BITMAP handling for screen Pin
Mark Salsbery18-Feb-07 8:36
Mark Salsbery18-Feb-07 8:36 
GeneralRe: BITMAP handling for screen Pin
Vancouver18-Feb-07 7:46
Vancouver18-Feb-07 7:46 
QuestionSFTP using C++ Pin
LCI16-Feb-07 8:50
LCI16-Feb-07 8:50 

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.