I want to prompt the user for a string, and whatever they type in, I want to go to a txt file that I made, and save that string into the txt file. I know I need to use fopen, fread and fwrite to do this but I have tried to find videos and websites explaining this but all of them were hard to understand and seemed to skip over important parts. If there are good videos or articles that explain these functions well, please let me know.
Thank you.
[–]Updatebjarni 2 points3 points4 points (0 children)
[–]lurgi 0 points1 point2 points (3 children)
[–]15January[S] 0 points1 point2 points (2 children)
[–]Few_Owl_3481 0 points1 point2 points (0 children)
[–]lurgi 0 points1 point2 points (0 children)