+ 1

Why won't this work?

Compiler says 2 errors I can't get a grip on them... The only things other than the example program is that I define the sum function inside the int main part right? https://code.sololearn.com/cNnXCsDZjRwE/?ref=app

22nd Feb 2018, 12:23 AM
Cici Tangent Xu
Cici Tangent Xu - avatar
1 Odpowiedź
0
So joining the template line and the int main declaration actually implies that the main function is templates? Cause I was not intended to do that
22nd Feb 2018, 3:27 AM
Cici Tangent Xu
Cici Tangent Xu - avatar