I am trying to open a file and get the info from it. I have forgotten how to do this. I have the following code but it wont work.
f = fopen("output.txt", "w");
fputs("Hello Everyone!\n", f);