Hello sir...
I want to know that if we can make a function that exactly works as clrscr()
if yes then please give me some idea to implement that..I will try that...
varun mca
0
Newbie Poster
Recommended Answers
Jump to PostThis may be some help. Below is the code inside conio.h for clrscr().
void clrscr (void) { DWORD written; int i; __fill_text_info(); for (i = __CONIO_TOP; i < __CONIO_TOP + __text_info.screenheight; i++) { FillConsoleOutputAttribute (GetStdHandle (STD_OUTPUT_HANDLE), __FOREGROUND + (__BACKGROUND << 4), __text_info.screenwidth, (COORD) {__CONIO_LEFT, i}, &written); FillConsoleOutputCharacter …
All 4 Replies
N1GHTS
102
Posting Whiz in Training
varun mca
0
Newbie Poster
gerard4143
371
Nearly a Posting Maven
Adak
419
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.