Plus one more thing, how can I create a file and write on it simultaneously? Like I created a file and after opening it tried to write something but when the program was executed, during its first execution only a file was created and nothing get written, but when the program was executed again then I was able to write onto the file. So How can I do both the tasks in a single execution cycle? I hope you get my question!
