Use a for loop. That will be able to print 100 floating point numbers.
Up vote 0 down vote favorite share g+ share fb share tw.
I want to print many, for example 100, floating point number into one file line using the format string %10.2f. Are there any ways to do this without writing the format string 100 times in the fprintf call or must I using the for loop to print one at a time? I know it's easy to achieve this in Fortan: `fwrite(fd,'(100F10.2)') data` Are there an alternative in C?
Fprintf link|improve this question asked Sep 9 '11 at 6:45yorua007364 71% accept rate.
I know that this would work, but it looks a bit silly. – yorua007 Sep 10 '11 at 1:18.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.