gotoxy(), clrscr(), getch() and getche() functions for GCC Linux.
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
total answers (1)
gotoxy() for GCC Linux:
gotoxy() move the cursor at specified location in the output screen.
Consider the example:
Output:
clrscr() for GCC Linux:
We can implement clrscr() by using clear command of the linux terminal, It is used to Clear Output Screen.
Consider the example:
Output:
getch() and getche() for GCC Linux:
getch() function is used to get (read) single character from standard input device (keyboard) without echoing i.e. it does not display the input character & it does not require [return] key after input. getch() is declared in conio.h header file.
getche() function is used to get (read) single character from standard input device (keyboard) with echoing i.e. it displays the input character & it does not require [return] key after input. getche() is declared in conio.h header file.
Consider the example:
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer