Could someone please tell me if this is possible in C or C++?
void fun_a(); //int fun_b(); ... main(){ ... fun_a(); ... int fun_b(){ ...
C++ does not support nested functions, however you can use something like boost::lambda.