Advertisement

Opertor trouble...

Started by July 13, 2000 08:25 PM
-1 comments, last by Vlion 24 years, 5 months ago
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