User forums > Using Code::Blocks

Result window does not stay

<< < (2/2)

EricKane:

--- Quote ---I got told it's a bad habit to have, i never use it now. Using cin.get(); is a much better way.
--- End quote ---

sorry.I'm too stupid.
Ask a question: if i use C not C++,how can i do it?please teach me

takeshimiya:

--- Quote from: Kane.zZ on August 18, 2006, 02:02:19 pm ---
--- Quote ---I got told it's a bad habit to have, i never use it now. Using cin.get(); is a much better way.
--- End quote ---

sorry.I'm too stupid.
Ask a question: if i use C not C++,how can i do it?please teach me

--- End quote ---
The linked pointed says an example: getchar()

PDEE:
Maybe this will clear things up a bit better http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1042856625&id=1043284385

PDEE

PDEE:
Kane.Zz,
Please don't pm me telling me what i should and should not do. I told kaiserniz what i have been told many times and that was to not use the sytem to pause with. I never said i was a teacher, it was just some friendly advice that most people like to have to make sure they are doing things the right way. ME included. You asked me how to do it yourself then pm me not to give you a lecture.  :shock: If you are going to pm me please have the decency to let me reply to you instead of 'please don't reply to this as i have not the time to read it' People give advice out all over the place. if you can't take the advice, don't ask for it!!

PDEE

EDIT: I apologize mandrav and moderators, but i had to say that. Won't happen again.

Navigation

[0] Message Index

[*] Previous page

Go to full version