Exit status 1 Request for member ‘position’ in ‘*pos’, which is of non-class typ

Hi I need help:-

Exit status 1 Request for member ‘position’ in ‘*pos’, which is of non-class type ‘fpos_t {aka long long int}’.

On a

pos->position = curPosition_;

I’m sure it’s obvious to some, but can anyone help please?

Without seeing your code, I don't think it's obvious to anyone.

I can see nothing wrong with the code that you have not posted

How much of the code do I need to post?

Enough so that it compiles and demonstrates the problem.

UKHeliBob:
Enough so that it compiles and demonstrates the problem.

Or, in this case, doesn't compile and produces the same compiler error.

gfvalvo:
Or, in this case, doesn't compile and produces the same compiler error.

Well, you knew what I meant !