Is this all of your program? You are calling setPower, setWeight, and setName member functions for Item1... but I don't seem their implementation and the prototypes don't even accept parameters? Also, you are missing a closing brace on your print() function. Next time post the error messages you are getting. Where are your accessor method implementations?
Errors are:
error C2144: syntax error : 'int' should be preceded by ';' c:\documents and settings\доби\my documents\visual studio 2008\projects\prak1\prak1\prak1.cpp 8
error C2511: 'void Item::print(void)' : overloaded member function not found in 'Item' c:\documents and settings\доби\my documents\visual studio 2008\projects\prak1\prak1\prak1.cpp 40
fatal error C1004: unexpected end-of-file found c:\documents and settings\доби\my documents\visual studio 2008\projects\prak1\prak1\prak1.cpp 62