《电脑报》1994年合订 / 软件操作与技巧 阅读文章

用子进程设口令

SECURE.C
#include
#include
#include
main(argc,argv,envp)
int argc;
char *argv;
char *envp;
{
char pass ="pctools";
char password;
FILE *fp;
printf("PLEASE INPUT YOUR PASSWORD:\n");
scanf("%s",password);
if (strncmp(pass,password,3)==0) spawnlpe(P_WAIT,"pct.dat","pct",NULL,envp);
else
printf("You are an illegle user!\n");
}
(广东 林志钢)

ESC 返回 PgUp/PgDn 翻页 software-archive.tifan.la 关于