0_0_13481457_28236.cpp: In function 'int main()': 0_0_13481457_28236.cpp:30:9: error: expected ';' before 'scanf' scanf("%d%d",&tower2.x,&tower2.y); ^