+ 3
How to open files and write something in them using C++?
For some reason when I tried to do that how the C++ course said, it didn't work. Does anybody know how to do that?
10 odpowiedzi
+ 3
I want to make a file on my computer and store some text in it, such as "This is a file that I made in C++."
+ 3
I was learning this in the C++ Course on Sololearn but it didn't work when I tried doing it in Microsoft Visual C++ 2010 on my desktop.
+ 3
Yes, I'm very sure.
+ 3
I heard that Microsoft Visual C++ is the best out there and also I've used it for a long time already so it works for me.
+ 3
I'll try to...
Are you still going to be in this thread?
+ 1
Please elaborate your question a bit so that others can understand.
+ 1
Are you sure saved the file with extension .cpp?
+ 1
Can you post something like a screenshot or maybe copy paste the whole error?
0
Also use an IDE like Dev C++, Netbeans etc.