I have been working with C, in TURBO compiler.
Now I have started C++, in VC++ compiler.
But, now, I m unable to clear screen (clrscr() don't work), can't write at any desired location (gotoxy() don't work)
Can anybody plz tell me their equivalents ?
apurv
-2
Light Poster
Recommended Answers
Jump to PostCan anybody plz tell me their equivalents ?
system("cls");
for clearing the screen. This is NOT portable so it's not a good thing to use it. Why do you need it?Gotoxy();
is a different story. You first need a handle to your console window, useGetConsoleWindow()
for that. …
All 4 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
andor
25
Posting Whiz in Training
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
andor
25
Posting Whiz in Training
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.