I am using netbeans IDE for my C++ implementation. I have two source files main.cpp and univ.cpp. And i defined a function show() in univ.cpp. How can i call this function from main. When i call normally like below, i get "show() not in scope".
    int main(int argc, char**argv)
    {
       show();
       return 0;
    }
I don't want to use a separate header file and define the function. Instead i want to define this function in cpp source file like stated above.
Thanks.
 
     
    