wolf12
Advanced Member level 4
If I create two functions and the execute the 1st function in the 2nd function or 2nd function in the 1st function I get the problem that function is not declared depeding on the order of the code. How to fix this?
example,
void func1 (void)
{
func2();
}
void func2(void)
{
func1();
}
This order will generate a compile error and say that func2 is not defined.
void func2(void)
{
func1();
}
void func1 (void)
{
func2();
}
This will say func1 is not defined :???:
example,
void func1 (void)
{
func2();
}
void func2(void)
{
func1();
}
This order will generate a compile error and say that func2 is not defined.
void func2(void)
{
func1();
}
void func1 (void)
{
func2();
}
This will say func1 is not defined :???: