$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Hendrik Schober (SpamTrap_at_[hidden])
Date: 2005-06-01 03:10:35
Rene Rivera <grafik.list_at_[hidden]> 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_at_[hidden] 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