hello
i am very new to the whole programming thing in general and just learning the basics of syntax etc of the C programming language. I am currently trying to complete an assignment for school that at this point seems nearly impossible, though im sure its all easy as pie for you guys. So without further ado heres my simple issue.
I have a file that holds a value on each line eg.
2.56
2.43
6.67
etc
etc
what i need to do is, create an array and read each value from the input file and store them individually in a different element in the array. Now i know this may seem overly simple to actually bother with, however i would greatly appreciate any help given. Ive gotten to the point of creating ] the array and opening the file so it can be read, however after that point the actual scanning (fscanf i guess would be used) and storing of the values into the array is all a mess to me.



LinkBack URL
About LinkBacks



*/