I have been given a header file to work from as an assignment, and a constant pointer is used: int * const acctFd
Can I alter the value of this pointer? If so, how? Its a file descriptor, and I have been trying to alter it using: fopen('pathname', "r+"); and then return it, however I cannot seem to set it.
Any ideas?
Thanks,
Chris