Hi, I'm trying to learn c++, especially input/output from the guide this website have so i have simply just copied the program and paste it to see it in action.
But nothing happens and there's no file that the program writes in or even open. But when i watch the outputwindow in the bottom i get this: 'Input, Output_1.exe': Loaded 'C:\Windows\System32\ntdll.dll', Cannot find or open the PDB file
'Input, Output_1.exe': Loaded 'C:\Windows\System32\kernel32.dll', Cannot find or open the PDB file
Do i miss some files or is it something i have done wrong?
If i do miss the files, where can i download them safely? i don't really trust the websites i got by google...
A copy of the program:
#include <iostream>
#include <fstream>
using namespace std;
int main () {
int svar=1;
do{
ofstream myfile;
myfile.open ("test.txt");
myfile << "Writing this to a file.\n";
myfile.close();
cout << "continue?(1=yes): ";
cin>> svar;
} while(svar==1);
return 0;
}