crypt function and link error “undefined reference to 'crypt'”

后端 未结 6 1438
别跟我提以往
别跟我提以往 2020-12-11 18:34

I have used the crypt function in c to encrypt the given string. I have written the following code,

#include
#include

int mai         


        
6条回答
  •  自闭症患者
    2020-12-11 19:07

    The crypt function is non-standard, but is supplied as an extension by the GNU C library on Linux. It's defined in

提交回复
热议问题