I just upgraded my computer and had to reinstall Visual Studio 2019, and I realized for some reason I can't work with float values. For example if I do a cout << (3/2);
, it will return 1
. I've tried looking into the float.h
file but I don't know what to change. I guess it's a simple fix, I tried to google it but I didn't find a solution yet
没有评论:
发表评论