I'm currently making a tic-tac-toe program with AI and i'm having a bit of a trouble translating this line of code (python) :
RANKS = dict([(4,3), # center = 3
(0,2),(2,2),(6,2),(8,2), # corners = 2
(1,1),(3,1),(5,1),(7,1)]) # sides = 1
into C++
any suggestions?