[so] Laborator 2 - Redirectare windows

Stefan Munteanu stef8803 at yahoo.co.uk
Wed Mar 3 21:52:54 EET 2010


Salut,
Am impresia ca scheletul de cod oferit in Laboratorul 2/windows/04-redirect nu este corect.
Am realizat redirectarile necesare, dar textul apare in continuare pe ecran.
Daca in loc de fprintf(...), folosesc WriteFile(GetStdHandle(STD_OUTPUT_HANDLE),"test",4,&var,0), imi scrie in fisier cum ar trebui.

Stefan


PS Am mai gasit aceeasi problema pe google :)


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20100303/5517f37c/attachment.htm>


More information about the so mailing list