
Rene Rivera <grafik.list@redshift-software.com> wrote:
[...]
"\r-" "\r\" "\r|" "\r/" repeat [...]
Question is... Does that work in CMD.EXE?
This works for me (Win2k): #include <cstdio> #include <windows.h> // Sleep() const char* test[] = { "\rtesting... -" , "\rtesting... \\" , "\rtesting... |" , "\rtesting... /" }; int main() { for( unsigned int u=0; u<100; ++u ) { std::printf( test[u%(sizeof(test)/sizeof(test[0]))] ); ::Sleep(100); } printf("\rtesting...done\n"); return 0; } Of course, this doesn't mean I'm sure it works in all cases. Schobi -- SpamTrap@gmx.de is never read I'm Schobi at suespammers dot org "Coming back to where you started is not the same as never leaving" Terry Pratchett