Thanks for the reply.
I tried piping it to more and the message disappears, so it shouldn't be the error stream then...?
choice /C:123 select | more
Type: Posts; User: this
Thanks for the reply.
I tried piping it to more and the message disappears, so it shouldn't be the error stream then...?
choice /C:123 select | more
Hi, I'm writing a "more" like program in c that reads from stdin. I'm using ReadFile() from windows.h to read the string and changes the console color. Everyting works great except it's not working...
pseudo code for reversing strings
LOOP{
new_array[ first_index ] = old_array[ last_index ]
increase first_index count,
decrease last_index count,
}
b = (a ^= (b ^= a)) ^ b;
a ^= b ^= a ^= b; // O_O
*read matsp post above for problems...
Problem w/ the above code is that it might cause overflows.
a = a^b;
b = a^b;
a = a^b;