C++ Function order

Miscellaneous Forums/General Discussion/C++ Function order

Quick Cish question.

Is there a preprocessor directive to tell the compiler to perform an initial parse to create tokens for functions & other declarations (classes etc), so they can be decalared / called without needing to be in use order?

eg:

void funcitionA(){
       functionB();
} 

void funcitionB(){
       does something;
} 


Yap
Just declare them before ALL implementations:
void functionA();
void functionB();

.
.
.

void funcitionA(){
       functionB();
} 

void funcitionB(){
       does something;
} 


right-o

thanks ;)