Click here to Skip to main content
15,901,122 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to check if a reference is NULL Pin
Ryan Binns7-Apr-05 18:14
Ryan Binns7-Apr-05 18:14 
GeneralRe: how to check if a reference is NULL Pin
ng kok chuan7-Apr-05 20:50
ng kok chuan7-Apr-05 20:50 
GeneralRe: how to check if a reference is NULL Pin
S. Senthil Kumar7-Apr-05 22:13
S. Senthil Kumar7-Apr-05 22:13 
QuestionHow to HitTest an item of a List Ctrl owned by another thread Pin
Luckybird7-Apr-05 16:23
Luckybird7-Apr-05 16:23 
AnswerRe: How to HitTest an item of a List Ctrl owned by another thread Pin
Ryan Binns7-Apr-05 18:18
Ryan Binns7-Apr-05 18:18 
GeneralRe: How to HitTest an item of a List Ctrl owned by another thread Pin
Luckybird7-Apr-05 23:29
Luckybird7-Apr-05 23:29 
GeneralRe: How to HitTest an item of a List Ctrl owned by another thread Pin
Ryan Binns8-Apr-05 2:12
Ryan Binns8-Apr-05 2:12 
Generalpliz help me with input validation Pin
mpapeo7-Apr-05 15:05
mpapeo7-Apr-05 15:05 
i have been try it out but failed. The second and third options should only be executed when there is a process running. But now i fail to write that error message so the user does not suspend a process while there is no process running. part of my code is below
<br />
int menu(void)<br />
{<br />
char iobuf[80];<br />
int choice;<br />
int i,len,valid;<br />
printf ("\n");<br />
printf ("*****************************************\n");<br />
printf ("*\t\t\t\t\t*\n*\tPROCESS CREATION \t\t*\n");<br />
printf ("=========================================");<br />
printf ("\n=\t 1: Create a process \t\t=");<br />
printf ("\n=\t 2: Suspend the process\t\t=");<br />
printf ("\n=\t 3: Resume process \t=");<br />
printf ("\n=\t 4: Shutdown the process \t=");<br />
printf ("\n=========================================\n");<br />
printf ("\n");<br />
printf("\nEnter choice (1-4): ");<br />
   valid = 0;<br />
<br />


-oam-
GeneralRe: pliz help me with input validation Pin
Christian Graus7-Apr-05 15:14
protectorChristian Graus7-Apr-05 15:14 
GeneralRe: pliz help me with input validation Pin
Anonymous7-Apr-05 15:35
Anonymous7-Apr-05 15:35 
GeneralRe: pliz help me with input validation Pin
Christian Graus7-Apr-05 15:39
protectorChristian Graus7-Apr-05 15:39 
GeneralRe: pliz help me with input validation Pin
mpapeo7-Apr-05 15:50
mpapeo7-Apr-05 15:50 
GeneralRe: pliz help me with input validation Pin
Christian Graus7-Apr-05 15:52
protectorChristian Graus7-Apr-05 15:52 
GeneralRe: pliz help me with input validation Pin
mpapeo8-Apr-05 1:48
mpapeo8-Apr-05 1:48 
GeneralRe: pliz help me with input validation Pin
David Crow8-Apr-05 5:29
David Crow8-Apr-05 5:29 
GeneralRe: pliz help me with input validation Pin
LighthouseJ7-Apr-05 15:48
LighthouseJ7-Apr-05 15:48 
GeneralRe: pliz help me with input validation Pin
mpapeo7-Apr-05 15:59
mpapeo7-Apr-05 15:59 
GeneralRe: pliz help me with input validation Pin
mpapeo7-Apr-05 16:21
mpapeo7-Apr-05 16:21 
Generalemulating commands in c++ Pin
Jeb997-Apr-05 14:32
Jeb997-Apr-05 14:32 
GeneralRe: emulating commands in c++ Pin
Christian Graus7-Apr-05 15:14
protectorChristian Graus7-Apr-05 15:14 
QuestionWhere to download a crystal report tool from? Pin
awasthy7-Apr-05 13:52
awasthy7-Apr-05 13:52 
AnswerRe: Where to download a crystal report tool from? Pin
liquid_8-Apr-05 7:13
liquid_8-Apr-05 7:13 
GeneralUnhandled Exception. Pin
blinkered7-Apr-05 11:28
blinkered7-Apr-05 11:28 
GeneralRe: Unhandled Exception. Pin
Shaileshhex22-Jul-08 1:50
Shaileshhex22-Jul-08 1:50 
Generalflat toolbar in WinXP Pin
BaShOr7-Apr-05 10:27
BaShOr7-Apr-05 10:27 

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.