下面这个程序是让算出 密码 , 第一个出来是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);
相关问答:
头文件里这么定义
public:
extern "C" __declspec(dllexport) HRESULT ABC();
public:
extern "C" __declspec(dllexport) void BBB();
......
第一题:
struct struct_A{
int a;
char b;
int c;
short d;
};
struct_A *p = NULL;
sizeof(p)等于多少?
第二题: ......
近日兄弟我在网上下了浙江大学远程教育C的视频,相信不少人也都看过,颜晖主讲的,个人觉得颜晖讲的非常仔细透彻,适合
新手看,只是缺少配套的书,虽然在当当网也看到这本书,也不算很贵23RMB,但 ......
FILE *pFile;
errno_t m_err;
m_err = fopen_s(&pFile,"1.txt","r");
char ch[100];
memset(ch,0,100);
fread(ch,1,100,pFile);
MessageBox(ch);
fclose(pFil ......
各位大侠,小弟有一个问题请教,如下
这个 #define stack_push 是一个函数,调用是这样的
int len;
stack_t *stack;
const char *curpos;
int seglen;
const char *next_slash;
int i;
......