+ 4

In school i red that to program we us #include <stdio.h> and #include <conio.h>

??

28th Nov 2016, 7:47 AM
Abiral Maharjan
Abiral Maharjan - avatar
13 Answers
+ 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
28th Nov 2016, 9:39 AM
Sandeep Chatterjee
+ 2
conio.h is mainly used in turbo c.in modern compiler it is used less
22nd Dec 2016, 9:40 AM
Antu Acharjee
Antu Acharjee - avatar
+ 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
30th Nov 2016, 3:18 PM
Mhmd elubaid
Mhmd elubaid - avatar
+ 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
22nd Dec 2016, 10:01 AM
Rami Salim
Rami Salim - avatar
+ 1
the header file conio.h is used for getch(); and clrscr(); whereas stdio.h is used for standard input output functions
23rd Dec 2016, 5:49 AM
Ashutosh Saraf
Ashutosh Saraf - avatar
+ 1
using only the header file stdio.h combination is turbo editor compiler
28th Dec 2016, 1:35 PM
first view
first view - avatar
0
ok
23rd Dec 2016, 9:17 AM
Đáș·ng Quang Linh
Đáș·ng Quang Linh - avatar
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.
8th Jan 2017, 1:36 AM
Nemo
- 2
It's C and not C++ :D
28th Nov 2016, 7:49 AM
Igor
Igor  - avatar
- 2
What you said is not in C++ that is in C
30th Nov 2016, 3:19 PM
Rami Salim
Rami Salim - avatar
- 2
hmmmm that what i m talking about
27th Dec 2016, 7:01 AM
smart_patrick
smart_patrick - avatar
- 3
#include <studio.h> is used in C not C++
22nd Dec 2016, 10:40 AM
Abhishek Saindane
Abhishek Saindane - avatar