as my first post says, absolutely nothing.
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
"The answer is out there."
"Please help, I''m using Windows!"
console problem
I''m not sure, but I think that Win32 consoles may support ANSI escape codes, because I seem to remember porting a really old BBS door game I wrote to Win32. There should be a code to clear the screen. Search the net for ANSI escape sequences and you''ll probably be able to find something useful.
I''m not sure why that happened and there are no compilers around here so if this doesn''t work, sorry. Try doing a cout << flush;
before the system("cls");. Because the buffer may be flushing after the call. Also i think that there is an exec function maybe it works there..
By the way there is the posibility of your compiler having conio.h, if you do there is a function call clearscreen or cls or something like that, read the header
before the system("cls");. Because the buffer may be flushing after the call. Also i think that there is an exec function maybe it works there..
By the way there is the posibility of your compiler having conio.h, if you do there is a function call clearscreen or cls or something like that, read the header
Found what I needed in conio.h, thanks a ton. One other thing, anyone know how to input a single char without waiting for the user to hit return?
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
"The answer is out there."
"Please help, I''m using Windows!"
Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
"The answer is out there."
"Please help, I''m using Windows!"
using C++ iostream of C IO functions? I personally enjoy the simplicity of some older C functions.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement