prototypes for passing custom types
i have a function that accepts a custom type as an input, but when i prototyped it eg: void myfunction(mytype); i get Error: parameter list is out of context, however c++ will compile it like this, i have another function that accepts both my custom type and an int, but if i include the int in the prototype c++ gives the error 'int ' : prototype parameter in name list illegal, without it will c compile under c++, my other c compiler Digital Mars C compiler gives error with both,
anyone got any ideas??
thanks in advance