Mathieu.Segaud@Crans.org (Mathieu SEGAUD) writes:
[...]
> class msgclass{
[...]
> void InitProfcrys( int , char[80] );
[...]
>
> void msgclass::InitProfcrys( int icris, char title[80] ){
^^^^^^^^^^
You need to tell the compiler that InitProfcrys is a member of
msgclass, otherwise InitProfcrys would be an ordinary function with no
relation to msgclass at all.
[...]
> ps: I can't figure out where the problem is, it seems in my opinion, to fit
> to all basic rules of classes in C++....
Yes.
Greetings,
Juergen
--
Dr. Juergen Hannappel http://lisa2.physik.uni-bonn.de/~hannappe
mailto:hannappel@physik.uni-bonn.de Phone: +49 228 73 2447 FAX ... 7869
Physikalisches Institut der Uni Bonn Nussallee 12, D-53115 Bonn, Germany
CERN: Phone: +412276 76461 Fax: ..77930 Bat. 892-R-A13 CH-1211 Genève 23
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:59 MET