i have a problem related to use of float array in strucures as we enter the structure using scanf() function it take only one float array member and skip all of the rest kindly help
i have boorland compliler of c++
under win 98
vp singh
i have a problem related to use of float array in strucures as we enter the structure using scanf() function it take only one float array member and skip all of the rest kindly help
i have boorland compliler of c++
under win 98
vp singh
A loop, preferably a for-loop:
Code:for(int i=0; i<NrOfElementsInArray; i++) { scanf("%f", &MyArray[i]); //I hope this is the right syntax... :rolleyes: }
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.