i am using fwrite like this:
fwrite(str,1,sizeof(str),fp) and it works
but i am having problem when i try to use like this:
actually, what i am trying to do is to write data like this
id1 is stored in str and 0 is id in integer...
i think, i cant write in integer..could anyone pls help? it was fine when tried using text file with fprintf but have a problem with fwrite....