hi,
i wrote the following program in ch :
cstring func (cstring line, int id, int x1, int y1, int x2, DWORD ts1, int x2,
int y2, DWORD ts2 )
{
line.format ("id: %4d. 1st chnl: (%3d, %3d) at time-id %10d. 2nd chnl:
(%3d, %3d) at time-id %10d", id, x1, y1, ts1, x2, y2, ts2);
printf("id: %4d. 1st chnl: (%3d, %3d) at time-id %10d. 2nd chnl: (%3d, %3d)
at time-id %10d", id, x1, y1, ts1, x2, y2, ts2);
return line;
}
the only problem is that it wont run.
it seems that ch doesnt know what is cstring.
i tried to include string.h, atlstr.h but it still wont work
ideas?
thanks
Yuval