I've just tried changing the 'switch' line but I get an error from the compiler. (pointer required on left side of arrow (*-> or ->*))
But I was trying to treat it like you said( was guessing).
...
Type: Posts; User: Deewhyren
I've just tried changing the 'switch' line but I get an error from the compiler. (pointer required on left side of arrow (*-> or ->*))
But I was trying to treat it like you said( was guessing).
...
Thanks Stephanos,
I made 'S' the start of the malloc area, so if I make
move_ptr = s;
then that should reposition it so I can then loop through the records.
I hadn't thought of using the...
Hi Salem,
I've changed all the strcpy's to strncpy and put in the amount of characters that I want to copy across (as per the #define) and it works..
many thanks, I was beginning to tear my...
Hi,
Here's the code.
1) the dummy variable is used to zeroise the transaction union before writing the next record to it (as each structure in the union is a different length I didn't know...