Hello All, I've searched the forums but didn't really manage to get a grip of what I read, so figured it best to ask. Essentially, how do I write to a file in C? say I want to write a variable to a non existsant file (i.e. the file does not exist just yet). Also, from what I've read it seems that I need to get the size of the file in order to read from it, is this the case and if so how would I go about it?
Thanks all, you're a great help!