I\'m trying to hold the screen on my output using the header file , but I don\'t know any equivalent function to the getch() &
I understand that this is an old question but I am going to answer nonetheless because people may be looking for an answer to a similar question.
conio.h is an (ancient) Windows and MS-DOS/PC-DOS C library that was, and still is used for very basic, bare-metal keyboard input and handling in a Windows/DOS environment.
Both getch() and clrscr() are non-standard additions by this header, and should be avoided when possible for the standard C functions. getch() can usually be replaced with scanf(), fread(), in C and std::cin and std::cin.get in C++. As for clrscr(), the closest you can get is:
for(int i = 0; i < 100; i++)
{
printf("\n");
}
OR:
There is also ncurses.h on *nix environments. Here's a link to some info about that.