Homework: calculate test scores

This is a discussion on Homework: calculate test scores within the C++ Programming forums, part of the General Programming Boards category; Code:
winner(playerChoice, compChoice);
playerChoice and compChoice are function prototypes. When you pass them into functions as arguments, they become function ...

playerChoice and compChoice are function prototypes. When you pass them into functions as arguments, they become function pointers. You can't turn a function pointer into a string. Yet, it's even worse than that. As far as I can tell, none of the functions are actually sharing any information.