Problem with linking libraries in Code blocks C

So i am trying to include the crypt.h library to my code and the compiler gives me this message
http://prntscr.com/752bqn . So i downloaded the library from http://sourceforge.net/projects/gnuwin32/files/crypt/2.2.5/ . then i stored it into a folder , i unziped it and i went to Build options>Linker settings and linked the libs http://prntscr.com/7528kd . But still i get the message crypt.h : No such file or directory . Can anyone help me out? thanks in advance !
Last edited on
Cna you show the code? Or at least the part where you include the library and try to use it?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdio.h>
#include <stdlib.h>
#include <crypt.h>

int main()
{
    char salt[10]="qwertyui";
    char salt1[10]="1w.5/6ew";
    char salt2[10]="q12efghy";
    char salt3[10]="kylt43.g";
    char username[30];
    char username1[30];
    char username2[30];
    char username3[30];
    char password[30];
    char password1[30];
    char password2[30];
    char password3[30];
    FILE *fp;
    fopen("my_shadow.txt","a");
      if(fp==NULL)
    {
            printf("File Open Error!");
            exit(1);
    }
Topic archived. No new replies allowed.