write() takes a const char * as the first parameter ... use std::c_str()
member function:
Code:
file_out.write(mystring.c_str(), x);
Printable View
write() takes a const char * as the first parameter ... use std::c_str()
member function:
Code:
file_out.write(mystring.c_str(), x);
I truly thank you guys for helping me out on this. The function seem to be working great-- I am just making some small tweaks to the code to make it fit in better with the rest of the program.
Once again, thank you.