+ 4
In school i red that to program we us #include <stdio.h> and #include <conio.h>
??
13 Respuestas
+ 7
yes it is but now new c++ ides have made it to remove the last h because include is always to add header files
+ 2
conio.h is mainly used in turbo c.in modern compiler it is used less
+ 1
See If you use the stdio and the conio you well be writing c program not c++ any way They contain the scanf() printf() got it
+ 1
Actually everything in C it can be use in C++ even printf and scanf but what you mentioned only conio is use in C++ and instead of stdio.h we use string
+ 1
the header file conio.h is used for getch(); and clrscr(); whereas stdio.h is used for standard input output functions
+ 1
using only the header file stdio.h combination is turbo editor compiler
0
ok
0
Just because these functions are from C doesn't mean your code is C. They're standard C++ functions, as well. Just take note that they're slightly harder to use, slightly more error prone if you're not careful, and they're slightly faster.
Standard C includes, you just remove the .h and put a C in front for C++. stdlib.h becomes cstdlib, math.h to cmath, etc.
Always remember, use the right tool for the job, not the most corporate web 2.0 buzz-wordy.
- 2
It's C and not C++ :D
- 2
What you said is not in C++ that is in C
- 2
hmmmm that what i m talking about
- 3
#include <studio.h> is used in C not C++