944,218 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 11284
  • C++ RSS
Feb 14th, 2007
0

gotoxy() substitute

Expand Post »
In earlier versions of c++, there was a function gotoxy() which could take me anywhere in the screen. Its available with borland compilers now too but not with visual c++ express. Is there any substitute for that.
Similar Threads
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Feb 14th, 2007
0

Re: gotoxy() substitute

gotoxy() was NEVER EVER a standard c or c++ function, but it was a Borland-specific function that started with Turbo C. No other compiler that I know of implemented that function.

See this to implement the function yourself
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,966 posts
since Aug 2005
Feb 14th, 2007
0

Re: gotoxy() substitute

Thank you! Is there a something for window() function too.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Feb 14th, 2007
0

Re: gotoxy() substitute

I don't know what window() does.
Last edited by Ancient Dragon; Feb 14th, 2007 at 11:41 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,966 posts
since Aug 2005
Feb 14th, 2007
0

Re: gotoxy() substitute

I don't know what window() does.
There is Windows API function, see thread:
http://www.daniweb.com/code/snippet217.html
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
bumsfeld is offline Offline
1,422 posts
since Jul 2005
Feb 14th, 2007
0

Re: gotoxy() substitute

Click to Expand / Collapse  Quote originally posted by bumsfeld ...
There is Windows API function, see thread:
http://www.daniweb.com/code/snippet217.html
You posted the wrong link.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,966 posts
since Aug 2005
Feb 14th, 2007
0

Re: gotoxy() substitute

Here's another gotoxy() link: http://faq.cprogramming.com/cgi-bin/...&id=1043284392

Here's another useful Windows Console programming link, perhaps you'll find what you're looking for there: http://www.adrianxw.dk/SoftwareSite/index.html
Reputation Points: 185
Solved Threads: 28
Posting Whiz in Training
dwks is offline Offline
269 posts
since Nov 2005
Feb 15th, 2007
0

Re: gotoxy() substitute

thanx to all, i think i have got everything i wanted.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Program will not generate random numbers
Next Thread in C++ Forum Timeline: Graphics in C/C++





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC