For some reason everytime I try to compile a program that has a function in it, I get the following error:
"error C2601: 'larger' : local function definitions are illegal
Error executing cl.exe."
In that particular case the function was named larger. Does anyone know what I might be doing wrong? I've followed code from my text books, and also tried to create my own functions to no avail.