Crypt How to??

How to use the crypt function in c++.Itgives error as "Undefined reference to crypt".help me soon plzzzzzzzzz...

Did you "#include <crypt.h>"?