下面这个程序是让算出 密码 , 第一个出来是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();
......
我想获得当前的时间,windows mobile上能用time_t time(time_t *timer)函数,提示lnk错误。为什么不能用呢? 需要增加什么连接库吗?名字是什么?
清楚的记得 c库的time_t是可以使用的,应该是其他的问题导致的。
......
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 ......