What is wrong with map.clear() in my programThanks, those inputs were very helpful. My issue is fixed
What is wrong with map.clear() in my programThe expected output is
T is 2
After vector clear
After map clear
N is 3
T is 1
What is wrong with map.clear() in my programI am trying to write a program for snake and ladder game. I am having an issue with the map.clear in...
printing whole numbers as doubleThanks a lot that worked :)
printing whole numbers as doubleI am trying to print a whole number as a double, using set precision and it does not work. It works ...