char selectRPS(int rocks,int papers ,int scissors);//a == b && a == c
{ //a //b //c
if (rockcounter==papercounter && rockcounter==scissorscounter)
cpu_choice=char random4rps(int computer, char ROCK,PAPER,SCISSORS;);// still confused about this part
}
Look at the tutorial. It has functions. Those functions are called.
More notes about the code fragment that you do show:
* Your function selectRPS() has parameters, but you don't use them within the function.
* What are the rockcounter, papercounter, scissorscounter, and cpu_choice? They are not local variables of the function, nor parameters of the function. I hope that they are not global variables either.