Hi,
Im tring to use a function i declare on my main.cpp file in a class function:

it look something like this:

main.cpp
#include <Calc.h>

void Log(String str)
{
*add to log file*
}

void main()
{
//Log File declare
Calc ck(some numbers)
}

And i want to write to log file from the function in Calc class
Its possiable???

thnx