Well I want to be able to read a text file into a variable. I have made something that writes a text file. Pretty much here's a not so good example, and yeah.. I dont feal like writing correct syntax but you get the idea.
ex.
dud = fopen("hi.txt");
//unsure how to do this properly.
if (dud == 1) {
printf("woot\n");
}
else {
printf("failure\n");
}
ex.
dud = fopen("hi.txt");
//unsure how to do this properly.
if (dud == 1) {
printf("woot\n");
}
else {
printf("failure\n");
}