下面这个程序是让算出 密码 , 第一个出来是passworD,第二个是xyz+ 任何一个字符
后面的3个我就看不明白了,大侠们帮我看看, 从 87 行 - 110行, 是3个密码,谢谢
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <unistd.h>
4 #include <sys/types.h>
5 #include <sys/stat.h>
6
7 #define P1 "\x70\x61\x73\x73\x77\x6F\x72\x44"
8 #define P2 "\130\131\132"
9 #define P3 "halt"
10 #define FSIZE 0xFFF
11 static int sleepfor = 5;
12 struct stat st;
13
14 void thinking()
15 {
16 int i;
17 int reps;
18 int secs;
19
20 sleepfor = sleepfor * 2;
21 reps = (sleepfor / 10 < 1 ? 1 : sleepfor / 10);
相关问答:
pro*c 里怎么将select 的返回内容赋值给变量
EXEC SQL BEGIN DECLARE SECTION;
char CALLNO[30];
EXEC SQL END DECLARE SECTION;
EXEC SQL S ......
第一题:
struct struct_A{
int a;
char b;
int c;
short d;
};
struct_A *p = NULL;
sizeof(p)等于多少?
第二题: ......
#include <string.h>
#include <stdio.h>
void main()
{
int i;
char buf[]="abcde";
strncpy(buf,"abc",3);
for(i=0;i <5;i++)
printf(&q ......
13个人围成一圈,从第一个人开始顺序报号1,2,3。凡报到3者退出圈子,找出最后留在圈子中的人原来的序号
结果应该是13 可我的程序的结果是11 希望好心人帮改一下
#include <stdio.h>
#include < ......
各位大侠,小弟有一个问题请教,如下
这个 #define stack_push 是一个函数,调用是这样的
int len;
stack_t *stack;
const char *curpos;
int seglen;
const char *next_slash;
int i;
......