err hehe sorry.. but im kinda new on c.. i was learning php and its a bit simular.. but... see im tring to put something like that in to something like this...
Code:
#include <stdio.h>
#include <conio.h>
int main( ){
char password[] = "admin";
int times;
char *fp;
for(times=1; times<=3; times++){
printf("Please enter password to proceed\n");
scanf("%s",password);
if(!strcmp(password,"admin") == 0 || !strcmp(password,"admin") == NULL){
printf("\tWrong password\n", password, system("cls"));
getch();
}else{
printf("\tBoom Your Dead\n", password, times, system("cls"));
getch();
return 0;
}
}
}
I still dont get what you mean.. is there a tut on this someware that i can go and read on it.. thanx