thanks, I'll try that out :)
Type: Posts; User: cantore
thanks, I'll try that out :)
Hi all; I'm trying to figure out how to read the contents of a text file and put them into a struct.
For example, the text file that I have contains this:
91.4, 1.76, Mike Jones
87.5, 1.84, ...
After reading some of the stuff in that link and the suggestions here I got it to work. Thanks guys.
Hi all, I'm writing a program to calculate the average of 10 integer numbers (which is easy). I have to use an array to store all 10 integers (easy again) but the issue that I'm having is that if the...
Thanks everybody for the help, after a few headaches I think I got it. Thanks again :)
My book mentions the round() function too, and it gives an example, but they use the "tools.h" library which I don't seem to have ( I get a 'no such file or directory...' error message). I did try...
Thanks for your quick reply filker. I'm trying to round to the nearest .01.
Any ideas?
Hi all, I'm fairly new to the C language and I'm having issues with rounding numbers.
I'm writing a program that asks the user to input a number (this number is a variable of type double).
The...