I know these functions in C, but in C++ they doesn't work.
What is replacement for these functions in C++ ?
Thanks.
UGndLord
0
Newbie Poster
Recommended Answers
Jump to PostHate to tell you this, but they don't exist in C either.
Chris
Jump to Postwherex, wherey, gotoxy are all Borland extensions. (Do Borland compilers still support them?) You can learn how to do it using the OS functions directly yourself.
Jump to PostWell, Borland doesn't do it through magic, so there is a way to do it without their functions. For instance, if you are on Windows you would use SetConsoleCursorPosition instead of gotoxy, GetConsoleScreenBufferInfo instead of wherex and wherey, and SetConsoleTextAttribute instead of whatever you would use to set the color. …
All 11 Replies
Freaky_Chris
299
Master Poster
nucleon
114
Posting Pro in Training
UGndLord
0
Newbie Poster
nucleon
114
Posting Pro in Training
UGndLord
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
MissPixel
0
Newbie Poster
m4ster_r0shi
142
Posting Whiz in Training
MissPixel
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
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.