29: drop the void
41: You are trying to define a function inside another function. Don't do this.
41: bad semi-colon
51: You must never ever ever call main(). This is forbidden in C++
55: bad semi-colon, and you are trying to define a function inside another function. Don't do this.
65: Don't ever call main. Ever.
69: bad semi-colon, and you are trying to define a function inside another function. Don't do this.
80: Is this where function main ends? Function main should end BEFORE you write other functions.