+ 1
Which is better conio.h or namespace std...?
in c++
4 Respuestas
+ 4
The two are not the same.
conio is a C library
std is a combination of many libraries
+ 4
How to use conio.h
http://www.cplusplus.com/forum/general/41965/
+ 4
As @Manual stated, they're not related. One's a header, the other an automatic scope resolver (did my wording suck?). Anyways, regarding the header, I'd avoid conio.h. There's std::cin that provides almost any conio functionality, including emulating grabbing keystrokes. The conio header is not portable and, IIRC, has not been maintained since Sauron was defeated.
It would help if you post what you wish to achieve.
+ 3
How to use std.
http://www.cplusplus.com/doc/tutorial/program_structure/