Hello! Friends,
I have a square .cpp program for squaring the given number but it is another pure .cpp file called "square.cpp" file containing no Qt classes or headers but which i have placed in the same GUI project with other files. Now what i am planning is to call the "square_of(int i)" function from square.cpp file in my GUI .cpp file, just by including the square.h file in GUI .cpp file and get the result of squaring in my GUI. Is it possible????

If yes how? and if not any other solution?

I will be obliged if replied.-----> Thanks in Advance.