I have an executable that contains a main function and a bunch of subfunctions. The subfunctions all start with:

Code:
scrn.open("stdout",ios::out);
They all end with:

Code:
scrn.close();
return(result);

I just want to call these functions and get their values from the main function, so I'm assuming I can get rid of the scrn.open and scrn.close();

Does this sound correct? I'm new to programming and having a hard time finding information about this.