0

Can we start the program in the manner...?( shown in description)

#include <iostream.h> #include <conio.h> void main ( ) { clrscr ( ); ....

17th Mar 2017, 9:30 AM
Rahul Bera
Rahul Bera - avatar
7 Antworten
+ 6
Dunno because I can't run this program (reason is from no iostream.h I can only use iostream)
17th Mar 2017, 9:34 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 6
In short "NOPE!" most of the compiler use c++ library without ".h"
17th Mar 2017, 10:02 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 5
Wow Now I found someone still use Turbo c++!!!!! Hooray Surely worked completely But tha why ask? Do you a have problem with void main()? Or clrscr?
17th Mar 2017, 10:05 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 1
@very hard ( Java & c++.....) Thanks for ur reply... But my hsc board has 'iostream.h'.... does it make a difference...?
17th Mar 2017, 9:57 AM
Rahul Bera
Rahul Bera - avatar
+ 1
but I wrote it in Turbo C++, and it worked completely in a fine manner
17th Mar 2017, 10:05 AM
Rahul Bera
Rahul Bera - avatar
+ 1
Actually all our practicals are taken using Turbo C++... So, they recommended us to do so...
17th Mar 2017, 10:07 AM
Rahul Bera
Rahul Bera - avatar
+ 1
actually I am unable to understand why this app uses 'using namespace std' instead of '#include <conio.h>...
17th Mar 2017, 11:12 AM
Rahul Bera
Rahul Bera - avatar