I want to make a function that can declare variables or access variables and recurse or loop some functions without re-declared. For example:
EDIT: I know! will goto work? to goto the process?Code:int hi()
{
int small = 1;
int health = 15;
//In the process health will change so recursing re-declaring it will overwrite the existing variable and I need health to stay as is.
hi() //recursing hi wil declare the variable health at 15 and in the process it will change to something else.
