On C programming language, there is a function named getch() function, its sintax writing as follows:
getch();
this getch actually is abbreviation of getcharacter.
What are using of getch function?
main(){ getch(); }
Now try to do again:
Correction please... : )
source:
http://novanarie.blogspot.com
getch();
this getch actually is abbreviation of getcharacter.
What are using of getch function?
- Stop a ongoing process
- Read input from keyboard. Character is gotten from keyboard only one character
- Open C program
- Create a new file, and save the file
- Type main(){}
- Menu Execute > Compile
- After compile is done (success), Menu Execute > Run, then Run result will not be seen, only seen a black window for a moment and close again immediately
main(){ getch(); }
Now try to do again:
- Menu Execute > Compile
- Menu Execute > Run
Correction please... : )
source:
http://novanarie.blogspot.com
0 komentar:
Posting Komentar