Added win32 checking when getchar
Added win32 checking when getchar

rodrigofaccioli/2pg_cartesian,rodrigofaccioli/2pg_cartesian,rodrigofaccioli/2pg_cartesian,rodrigofaccioli/2pg_cartesian,rodrigofaccioli/2pg_cartesian