I've got a var. defined as
int fd; globally available throughout my application
in a global include file say #include "myapp.h"
I've got another class which resides on another file
lets say #include "serialport.h"
this class has
serialport:
pen()
{
fd = open (....);
}
Return to the globol scope
I've got a non-class reference to fd available which always appears to be 0. Does the scope present an issue?
Thanks
Jack