One reason its named "Visual C++" because its a c++ compiler/IDE designed to make writing MS-Windows programs easier. Otherwise it will compile standard c++ programs without a problem unless you try to use something from the newest version of c++ standards which vc++ has not yet implemented. But then most c++ compilers are not 100% c++ standards compliant.
yes it will buy the book,buy visual studio.
and you are good to go actually it is one of the latest IDE and compiler for c++
also if you are looking for a free alternative you can use the visual c++ Express(free version) which offers limited features or use Code::Blocks which is a fully fledged open-source IDE just download the one with MinGW compiler HERE is the link
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: