FINALLY.....evrything works.....thx a lot salem
EDIT:
prob no.3
right now i am using all the members of my structures as strings...but i want price and noofItems to be float and int repectively...
I dont want to end up messing around with fscanf's and fgets. Is there a way around???