|
-
Sep 3rd, 2001, 11:24 AM
#1
Thread Starter
Addicted Member
Printing text to the same part of the screen
How can I print text to the screen (DOS console) and have replace the old text?
BTW, Thanks for all your help
Member of the anti-gay cross-dressing trans-species wolves alliance.
-
Sep 3rd, 2001, 11:26 AM
#2
Member
#include <conio.h> and then use the gotoxy() function.
-
Sep 3rd, 2001, 11:35 AM
#3
PowerPoster
that will only work if you are using Borland C++ compiler. If that is VC++ then there is no graphics library for you..
-
Sep 3rd, 2001, 11:37 AM
#4
Thread Starter
Addicted Member
could that function be under different name in VC++ ? Whenever I try to use it, it says it's undefined.
BTW, Thanks for all your help
Member of the anti-gay cross-dressing trans-species wolves alliance.
-
Sep 3rd, 2001, 11:39 AM
#5
Thread Starter
Addicted Member
SO there's no way to do it
BTW, Thanks for all your help
Member of the anti-gay cross-dressing trans-species wolves alliance.
-
Sep 3rd, 2001, 11:44 AM
#6
Member
Originally posted by abdul
that will only work if you are using Borland C++ compiler. If that is VC++ then there is no graphics library for you..
Call me stupid, but what if I uploaded the .h and other dependencies?
-
Sep 3rd, 2001, 11:46 AM
#7
PowerPoster
No, there is no other graphics library in VC++ but you can use a graphics library called "Algero"(I can't spell in right)
It comes with a free compiler. I can remember the name of that compiler right now..sorry. I have not even tried using that but lot of people say that it is great graphics library for people not using BC++.
Maybe furby know more about that free compiler and about that graphics library
-
Sep 3rd, 2001, 11:48 AM
#8
PowerPoster
ooops..you answered first. I have asked this question before but I was not quite complete answer. Somebody said (I think Parskie) that Algero( ) was also good graphics library for VC++
-
Sep 4th, 2001, 04:24 AM
#9
filburt1: I'm not sure if you can use BC++ libraries in VC++
The compiler is called DJGPP, and is a very good 32-bit DOS protected mode compiler. Programs made with this compiler will run under DOS and Win9x, but not NT/2000.
See http://www.brainchilddesign.com for a game made with this compiler (Jump'n'Bump, freeware, very cool).
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Sep 6th, 2001, 03:45 PM
#10
Lively Member
-
Sep 6th, 2001, 04:25 PM
#11
I think the console behaves as an ansi-compliant vt screen.
An escape sequence that conforms to those standards
is:
escape [ row ; col H - (no spaces) escape is char esc = 27;
positions the cursor to row & col. Works for DOS screens and is the gotoxy code for Turbo C.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|