CPP based code tested and working on windows