| Ailuropoda Melanoleuca (1) | |||
|
Greetings, I was interested in having two buffers that I could swap between on the windows console. Thankfully, after spending some time on msdn, I managed to do it. The code follows:
This is working as intended. My question is about the function CloseHandle().I wonder if I should also be calling it with buffer1 or if I shouldn't be calling it at all in the first place.PS: System("PAUSE") is only being used because this is purely for test purposes.
| |||
|
Last edited on
|
|||