visual studio - How to call another function below main (VC++ C) -
visual studio - How to call another function below main (VC++ C) -
i want phone call function below, ide can't find function if isn't above main. i'm using visual studio professional 2013
this works:
void load() { }  int _tmain(int argc, _tchar* argv[]) {     load(); }    but doesn't:
int _tmain(int argc, _tchar* argv[]) {     load(); }  void load() { }       
you have have function declaration above main if want  accomplish this. 
 void load();   int _tmain(int argc, _tchar* argv[])  {       load();  }   void load()  {   }        c visual-studio visual-studio-2013 
 
Comments
Post a Comment