Error on CIN
Dec 1, 2013 at 5:53am UTC
I'm getting an error on the operator sign of cin
>>
The error says while trying to match the argument list. What is wrong here in my code that is prompting that error.
1 2 3 4 5 6 7 8 9
void open_makefile (string & filename, string & filename2, ifstream &in, ofstream& out)
{
cout<<"Make a file for input: " ;
cin>>filename;
}
Dec 1, 2013 at 5:52pm UTC
Anyone
Dec 1, 2013 at 8:11pm UTC
Hello
Dec 1, 2013 at 8:20pm UTC
What's the exact error?
There's nothing wrong with the code you posted, so the error has got to be coming from somewhere else.
Dec 1, 2013 at 11:37pm UTC
Nevermind doublemain, I just fixed it! Thank you for your response though :)
Topic archived. No new replies allowed.