Hello. I am making a program and I have multiple functions. for example, it looks like this:
function1(int* var1,int* var2,int* var30
{
*var1 blah blah blah
*var2 blah blah blah
*var3 blah blah blah
}
function2()
{
int vara ;
int varb ;
int varc ;
function1(&vara, &varb, &varc)
blah blah blah
}
int main()
{
//how do I "view" function1?
}
Any help will be appreciated. Thank you!
I'm sorry for my bad discription. I meant by "view" :
Example:
fnc1()
{
int a ;
cin >> a ;
cout <<"\n"<< a ;
}
int main()
{
//now I want the fnc() function to display its content on the black input and output screen.
}