top_io.open("type_of_pixel.txt", ios::out | ios::in);
if (top_io.is_open() && !top_io.fail() && top_io.good()) {
top_io.seekg(0, ios::beg);
top_io.seekp(0, ios::beg);
int test = 0;
for (long a = 0; !top_io.eof(); a++) {
top_io << test;
if (a == Platform_del) {
top_io << 0;
}
}
top_io.close();
mouse_was_clicked = false;
}
else {
cout << "Error";
}
it appears the signal is coming from this line:
top_io << test;
I am using xcode on a mac with c++. PLease help me.
Thanks
This post has been edited by jtreiner: 12 September 2012 - 07:42 PM

New Topic/Question
Reply



MultiQuote





|