But it is possible to get the screen shot by through using another way. But it is just difficult you install the OS through VM ware. First you install OS through VMware software. Then in the VMware OS like windows xp you setup the c then run the program. When it display the output you switch to the real OS then press print screen go to the mspaint paste the picture.
In my website article like c and c++ program output I will use these technique