Hot answers tagged

3 votes

error to run all my programs

It looks like you are trying to compile the program (make hello). To run the program the command is usually something like ./hello.
user avatar
1 vote
Accepted

crack.c: error: implicit declaration of function 'crypt' is invalid in C99

The spec is perfectly correct. More than likely, you don't have #define _XOPEN_SOURCE #include <unistd.h> At the very top of your program (ie, before any other #includes). If you move that ...
user avatar
  • 18.3k

Only top scored, non community-wiki answers of a minimum length are eligible