From: Gelu S. <gel...@ya...> - 2004-03-24 20:56:05
|
Seems like I didn't remember anything right about the code problem I was mentioning before. The file is events.h, class tPlayTrack: track=*(((int*)dat)++); transpose=*(((int*)dat)++); eventlength=*(((int*)dat)++); and later on *(((int*)dat)++)=track; *(((int*)dat)++)=transpose; *(((int*)dat)++)=eventlength; each line gives error: '++' needs l-value I guess the way ms compiler gets it is that by conversion to int*, dat goes into a temporary location which is incremented and later discarded. I'll try fiddling with some compiler settings. Just let me know if this is old code that once compiled under win, or new code introduced nowadays. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |