I have most of this figured out but I am coming across one problem.
When the user either wins or loses on the first try the game functions as its supposed to.
If the user ties then it will go into an infinite loop no matter what choice the user enters it will continue to output a tie and ask the user for another choice.
Also The first time through it will state what the user and the cpu picked and then announce the results. During the loop it will only say its a tie and not list what the choices were that were chosen.
The way I thought it works is that line 78 starts a loop only when the user choice is equal to the computer choice. So if the user chooses rock and the computer chooses rock it will call the getUserchoice function and starts the game over so that when the user chooses again it will compare it to the computer choice and either go to the tie loop or one of the appropriate if statements.
Line 136 was how I was ending the program after a win or a loss. I don't know how to get the code to go back to the main function return 0; function.
Also I don't have the random seed started in this code so the computer picks scissors every time. I did this on purpose so I could test the code and will put the random line of code in later when I get everything else working.
You do call the getUserChoice() on line 23 too. Does that restart the game or what does happen there?
Similarly, the call to getUserChoice() on line 82 does return to the caller, and as next action the condition on line 78 is re-evaluated. However, the 'user' has not changed and the 'computer has not changed, so the result is again and forever true.
It is possible to call return; on a function that "returns" a void.
Do not determine the tie within the determineWinner(). Do it before. You must change both user and computer choices there, because if the user alone changes his choice after a tie, he already knows what the computer has.
Same thing within the determineWinner(). If you have ensured that there is no tie, then rechecking for that is not necessary. Furthermore, if player is, say Spock, and computer is neither scissors or rock, then the computer is a paper lizard; no IF required.