help please ok here is my code
void sleep()
{
energy 100;
happy + 20;
strength - 1;
bladder 70;
age + (hour * 8);
};
ok? all the varibles are preprocesser defined, you know #define energy 100.
i have 2 file in this project main.cpp and Brandon.cpp, the funciton is in the Brandon file
so i run the code once and everything goes ok but once i put it in the main file it says "multiple definition of "sleep()"
why?!? arg frustrating, please help.