it worked fine for me on visual studio except for this line -



printf('\n");


which should be