First of all, are you programming on a mac or pc? Also, could you please describe in more detail what the errors are so I can help you better. Possibly include line numbers that your compliler gives you?
8 C:\Documents and Settings\soheil\My Documents\testsuit\91s8.cpp `widget::widget(const widget&)' and `widget::widget(const widget&)' cannot be overloaded
C:\Documents and Settings\soheil\My Documents\testsuit\91s8.cpp In function `int main()':
24 C:\Documents and Settings\soheil\My Documents\testsuit\91s8.cpp call of overloaded `widget()' is ambiguous
note C:\Documents and Settings\soheil\My Documents\testsuit\91s8.cpp:11 candidates are: widget::widget(const widget&)
note C:\Documents and Settings\soheil\My Documents\testsuit\91s8.cpp:11 widget::widget()