Thanks you so so much. Being trying all weekend due to my lack of knowledge of return values of fscanf. So fscanf's return value is the amount of elements its reading in?
.ZG.
Type: Posts; User: .ZG.
Thanks you so so much. Being trying all weekend due to my lack of knowledge of return values of fscanf. So fscanf's return value is the amount of elements its reading in?
.ZG.
I have written a function that takes input from a text file called "fridge.txt" with its contents being:
milk carton 4 2 .5
bread loaf 2 2 1
VB slab 20 40 10
I can read it into an array fine,...
I assume your using the stdafx.h header file when your compiling your programs in VC++. You can add a line of code that will wait until you press a key. add this line of code:
...
Thanks for the help. I can't do it any other way than what I have in the previous code. I have to calculate the whole thing iteratively, then recursively (which works fine) and now using the formula....
Im trying to calculate N Choose R by multiplication but it returns some crazy value like -1#inde. Its for a prac. I have already done it iteratively and recursively, and need to do it by...