Hey, im trying to count the total days from year 2011 untill year 0 (considering leap years). Can someone help me out? It seems my variable "counter" remains inside the "while" scope, but i cant figure out how to pass it to the main scope so i can cout it.