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

C / C++ / MFC

 
GeneralRe: Binary Tree Help Pin
David Crow1-May-06 6:20
David Crow1-May-06 6:20 
AnswerRe: Binary Tree Help Pin
Stephen Hewitt30-Apr-06 13:52
Stephen Hewitt30-Apr-06 13:52 
GeneralRe: Binary Tree Help Pin
Maxwell Chen30-Apr-06 18:09
Maxwell Chen30-Apr-06 18:09 
GeneralRe: Binary Tree Help Pin
Stephen Hewitt30-Apr-06 18:12
Stephen Hewitt30-Apr-06 18:12 
GeneralRe: Binary Tree Help Pin
Maxwell Chen30-Apr-06 18:17
Maxwell Chen30-Apr-06 18:17 
QuestionA couple of problems - cin.get - (Beginner) Pin
haitch7930-Apr-06 3:56
haitch7930-Apr-06 3:56 
AnswerRe: A couple of problems - cin.get - (Beginner) Pin
Justin Tay30-Apr-06 7:33
Justin Tay30-Apr-06 7:33 
AnswerRe: A couple of problems - cin.get - (Beginner) Pin
Aqueel30-Apr-06 7:39
Aqueel30-Apr-06 7:39 
HI haitch79
In first problem, try to use getline instead of get(...) or simply write the following code to get input
gets(chTemp);

in problem 2, to compare your string with exit, write following line.

gets(chTemp);<br />
if (!strcmp(chTemp, "exit"))   //both are equel<br />
{<br />
 do something;<br />
}

i hope this will solve your problem. tell us if problem remains...
Good luck.

We Believe in Excellence
www.aqueelmirza.cjb.net

-- modified at 13:40 Sunday 30th April, 2006
GeneralRe: A couple of problems - cin.get - (Beginner) Pin
haitch7930-Apr-06 9:41
haitch7930-Apr-06 9:41 
GeneralRe: A couple of problems - cin.get - (Beginner) Pin
Maxwell Chen30-Apr-06 18:15
Maxwell Chen30-Apr-06 18:15 
GeneralRe: A couple of problems - cin.get - (Beginner) Pin
haitch7930-Apr-06 23:52
haitch7930-Apr-06 23:52 
GeneralRe: A couple of problems - cin.get - (Beginner) Pin
Maxwell Chen1-May-06 0:33
Maxwell Chen1-May-06 0:33 
Question---how to lock two mutexes simultaneously in atomic mode? Pin
dragooooon lee30-Apr-06 3:26
dragooooon lee30-Apr-06 3:26 
AnswerRe: ---how to lock two mutexes simultaneously in atomic mode? Pin
Ryan Binns30-Apr-06 18:32
Ryan Binns30-Apr-06 18:32 
GeneralRe: ---how to lock two mutexes simultaneously in atomic mode? Pin
Rilhas1-May-06 1:33
Rilhas1-May-06 1:33 
GeneralRe: ---how to lock two mutexes simultaneously in atomic mode? Pin
dragooooon lee2-May-06 6:48
dragooooon lee2-May-06 6:48 
GeneralRe: ---how to lock two mutexes simultaneously in atomic mode? Pin
Rilhas2-May-06 10:08
Rilhas2-May-06 10:08 
QuestionVC++( 2-d,3-d graphics problem) Pin
RavindraKumar30-Apr-06 2:27
RavindraKumar30-Apr-06 2:27 
Questionhow can I get the pointer of the scrollbar on the listctrl? Pin
yingkou30-Apr-06 0:41
yingkou30-Apr-06 0:41 
AnswerRe: how can I get the pointer of the scrollbar on the listctrl? Pin
YaronNir30-Apr-06 0:55
YaronNir30-Apr-06 0:55 
GeneralRe: how can I get the pointer of the scrollbar on the listctrl? Pin
yingkou30-Apr-06 1:06
yingkou30-Apr-06 1:06 
GeneralRe: how can I get the pointer of the scrollbar on the listctrl? Pin
Justin Tay30-Apr-06 1:16
Justin Tay30-Apr-06 1:16 
GeneralRe: how can I get the pointer of the scrollbar on the listctrl? Pin
yingkou5-May-06 18:45
yingkou5-May-06 18:45 
QuestionINI Files Under VC++ 2005 ? Pin
Fritzables29-Apr-06 20:42
Fritzables29-Apr-06 20:42 
AnswerRe: INI Files Under VC++ 2005 ? Pin
YaronNir29-Apr-06 20:55
YaronNir29-Apr-06 20:55 

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.