+ 1

In this why use "using std; " I am started with conio.h why use int main why not use clrscr why use return 0 why not use getch

plz... help anyone

11th Mar 2018, 6:52 PM
Sukesh Kumar
Sukesh Kumar - avatar
2 Answers
+ 3
Non-standard C++ code uses 'conio.h', 'void main', 'clrscr', and 'getch' as part of how to run. This site is run based on the C++ standard so your code should be created in that manor. 'using std;' is something that makes it easier for beginners to code, but it isn't normally used in professional development. 'int main' and 'return 0' are required by the C++ standard.
11th Mar 2018, 7:08 PM
John Wells
John Wells - avatar
+ 1
thanks
11th Mar 2018, 7:09 PM
Sukesh Kumar
Sukesh Kumar - avatar