int addnumbers(); // this is not how you call a function, remove the "int" part.
Note your function returns a number. If you want to save the number it returns you need to do so in a variable -
1 2 3 4 5 6
int saverOfAll;
if(enter == 'p'){
saverOfAll = addnumbers(); // saverOfAll will be equal to the number the function returns
}
Also, please use code tags for your code so it is easier to read. Im using code tags and you can see the difference in readability between mine and your code - http://www.cplusplus.com/articles/jEywvCM9/