ok i have been programming for a while, but started learning c++ a while ago. i am working on a graphical snake game and have a lil prob. first i will show an example so you see my prob. this is just an ex, im not that dumb
function1
{
function2();
}
function2
{
function1();
}
main
{
function1();
}
any that is what my code is like, w/ more functions
so it says that function 2 is an undeclared identifier.
do they have to be in the rt order or what. could i put my functions into a seperate file. how do i fix this prob.