i have declared a child form in the parent form 'Form1' .
' public: static Form2* childform; '
but in the line of ' public: static Form2* childform; ' where i ve defined the pointer, i receive the error 'missing storage-class or type specifiers' . i ve already included Form2.h in Form1.h and i create an instance of Form2 in Form1's constructor with 'new' operator... so why i receive this error...?
regards.
' public: static Form2* childform; '
but in the line of ' public: static Form2* childform; ' where i ve defined the pointer, i receive the error 'missing storage-class or type specifiers' . i ve already included Form2.h in Form1.h and i create an instance of Form2 in Form1's constructor with 'new' operator... so why i receive this error...?
regards.