Okay, here is what I have to do. Work with files. But the thing is, should I use API functions or just standard c functions for this?

And also, a question about it (which ever way I decide to go): I need to either read a certain file (for example: file.txt) or if it is not existing, I need to create the file (file.txt). How would I approach this? What functions?

Thanks!