What the....?

Started by
4 comments, last by demonrealms 20 years, 5 months ago
I just put this in my code:
DMUSIC_MIDI         dm_midi[DM_NUM_SEGMENTS];
And then it came up with these errors:
--------------------Configuration: prj_learn - Win32 Debug--------------------
Compiling...
prj_learn.cpp
C:\prj_learn\prj_learn.cpp(105) : error C2146: syntax error : missing '';'' before identifier ''dm_midi''
C:\prj_learn\prj_learn.cpp(105) : error C2501: ''DMUSIC_MIDI'' : missing storage-class or type specifiers
C:\prj_learn\prj_learn.cpp(105) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

prj_learn.obj - 3 error(s), 0 warning(s)
Why is that? Thansk in advance, -sathenzar
Advertisement
It means that the compiler doesn''t find the definition of ''DMUSIC_MIDI'' anywhere before the error point.

-Nik

Niko Suni

Okey, now how do I fix it?
maybe try to include the dmusic include file
(assuming this type is defined there, and asuming its dmusic)
http://mitglied.lycos.de/lousyphreak/
hihihihihihihihihihi

/MindWipe
"To some its a six-pack, to me it's a support group."
hi  hi[hi];

This topic is closed to new replies.

Advertisement