Opertor trouble...
v:\PROJECTS\bin\main.cpp(8) : error C2676: binary ''+='' : ''class file'' does not define this operator or a conversion to a type acceptable to the predefined operator
Okay, thats the error im getting.
template friend file operator+=(file op,data dat)
{//op does nothing...
nfile.write((char *) &dat, sizeof(dat));
}
Thats the internal code...
fio += 100;
This is the code i want to work.
I came, I saw, I got programmers block.
~V''lion
~V'lionBugle4d
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement