Click here to Skip to main content
15,906,624 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionundo redo in console application with an operation Pin
002comp30-Nov-09 4:44
002comp30-Nov-09 4:44 
AnswerRe: undo redo in console application with an operation Pin
loyal ginger30-Nov-09 5:19
loyal ginger30-Nov-09 5:19 
AnswerRe: undo redo in console application with an operation Pin
Chris Losinger30-Nov-09 5:58
professionalChris Losinger30-Nov-09 5:58 
GeneralRe: undo redo in console application with an operation Pin
002comp1-Dec-09 6:56
002comp1-Dec-09 6:56 
AnswerRe: undo redo in console application with an operation Pin
Eytukan30-Nov-09 6:49
Eytukan30-Nov-09 6:49 
QuestionHelp with some memory - null issue Pin
alonchap30-Nov-09 3:49
alonchap30-Nov-09 3:49 
AnswerRe: Help with some memory - null issue Pin
Richard MacCutchan30-Nov-09 3:58
mveRichard MacCutchan30-Nov-09 3:58 
AnswerRe: Help with some memory - null issue Pin
David Crow30-Nov-09 5:36
David Crow30-Nov-09 5:36 
alonchap wrote:
what is wrong in here?


Numerous things. For starters:

  • You need to check the value of prompt before trying to print it.
  • You are using command incorrectly (hint: it points to nothing valid).
  • The first argument to strtok() must be modifiable.

    "One man's wage rise is another man's price increase." - Harold Wilson

    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


  • Questionconvert char to string Pin
    nuttynibbles30-Nov-09 3:29
    nuttynibbles30-Nov-09 3:29 
    AnswerRe: convert char to string Pin
    Richard MacCutchan30-Nov-09 3:56
    mveRichard MacCutchan30-Nov-09 3:56 
    AnswerRe: convert char to string Pin
    «_Superman_»30-Nov-09 14:39
    professional«_Superman_»30-Nov-09 14:39 
    QuestionMinimized link time of C++ applications Pin
    Fred Hebert30-Nov-09 2:47
    Fred Hebert30-Nov-09 2:47 
    AnswerRe: Minimized link time of C++ applications [modified] Pin
    Rolf Kristensen3-Dec-09 11:35
    Rolf Kristensen3-Dec-09 11:35 
    GeneralRe: Minimized link time of C++ applications Pin
    Fred Hebert10-Dec-09 11:38
    Fred Hebert10-Dec-09 11:38 
    GeneralRe: Minimized link time of C++ applications Pin
    Rolf Kristensen10-Dec-09 12:02
    Rolf Kristensen10-Dec-09 12:02 
    GeneralRe: Minimized link time of C++ applications Pin
    Rolf Kristensen6-Jan-10 9:31
    Rolf Kristensen6-Jan-10 9:31 
    GeneralRe: Minimized link time of C++ applications Pin
    Fred Hebert18-May-10 9:06
    Fred Hebert18-May-10 9:06 
    GeneralRe: Minimized link time of C++ applications Pin
    Rolf Kristensen18-May-10 9:11
    Rolf Kristensen18-May-10 9:11 
    QuestionReg. win32_find_data dwFileAttributes value Pin
    Rakesh530-Nov-09 2:25
    Rakesh530-Nov-09 2:25 
    AnswerRe: Reg. win32_find_data dwFileAttributes value Pin
    Covean30-Nov-09 3:15
    Covean30-Nov-09 3:15 
    AnswerRe: Reg. win32_find_data dwFileAttributes value Pin
    CPallini30-Nov-09 3:22
    mveCPallini30-Nov-09 3:22 
    QuestionHow to convert hundreds of VS2005 soltions to VS2008? Pin
    coder21k30-Nov-09 2:18
    coder21k30-Nov-09 2:18 
    AnswerRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
    T210230-Nov-09 2:30
    T210230-Nov-09 2:30 
    GeneralRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
    KarstenK30-Nov-09 3:41
    mveKarstenK30-Nov-09 3:41 
    GeneralRe: How to convert hundreds of VS2005 soltions to VS2008? Pin
    coder21k30-Nov-09 17:35
    coder21k30-Nov-09 17:35 

    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.