Archived

This topic is now archived and is closed to further replies.

demonrealms

What the....?

Recommended Posts

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

Share this post


Link to post
Share on other sites