User Profile
Collapse
-
Thanks for your reply, I'll try that and get back to you on it. -
Passing pointer to function - C programming
Hey guys,
I have a function which needs to read a file and use the pointer parameter given.
the pointer is a structure with five members; int points, float *time, *dhdt, *drate and *diff.
The .dat file contains double values in three columns. I am required to open the .dat file, read the values and insert them into their appropriate members
(1st column of data into *time, 2nd column into *dhdt and 3rd column into *drate)....
No activity results to display
Show More
Leave a comment: