| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 685 人关注过本帖
标题:关于c-free3.5注册小程序的问题?
只看楼主 加入收藏
xlmm
Rank: 1
等 级:新手上路
帖 子:125
专家分:0
注 册:2006-10-6
收藏
 问题点数:0 回复次数:3 
关于c-free3.5注册小程序的问题?
我在网上找到一个用C语言写的c-free3.5注册的程序,如下:
//#include "stdafx.h"
#include "stdlib.h"
#include "stdio.h"


int main(int argc, char* argv[])
{
char chKey[128] = {0};
unsigned int unXORCode, unRemainder, unQuotient, unTmp, unMachineCode;
printf("Please Key in the Machine Code:\n");
scanf("%d", &unMachineCode);

unXORCode = unMachineCode ^ 0x90909090;
unRemainder = unXORCode % 0x25;
unQuotient = unXORCode;
if (unRemainder < 0x11)
{
unRemainder += 0x11;
}

int i;
i = 0;
while (unQuotient != 0)
{
unTmp = unQuotient % unRemainder;
unQuotient /= unRemainder;
if (unTmp >= 0xa)
{
unTmp = unTmp + 0x61 + 0xf6;
unTmp &= 0x0ff;
chKey[i] = unTmp;
}
else
{
chKey[i] = unTmp + 0x30;
}
i++;
}
printf("Key is: \n");
while (i >= 0)
{
printf("%c", chKey[i]);
i--;
}
printf("\n");

return 0;
}
我的机器码是3129842069
用上面的那个程序算出来的注册码是:t28bQp
但是用不了,请问这个程序有什摸问题?
各位能帮忙改一下吗?先谢谢了![em2]
搜索更多相关主题的帖子: 注册 
2006-10-23 18:54
SunShining
Rank: 7Rank: 7Rank: 7
等 级:贵宾
威 望:31
帖 子:2215
专家分:0
注 册:2006-2-17
收藏
得分:0 

t28b0p


[glow=255,violet,2]闭关修炼ing...[/glow] [FLASH=360,180]http://www./chinaren.swf[/FLASH]
2006-10-23 19:19
xlmm
Rank: 1
等 级:新手上路
帖 子:125
专家分:0
注 册:2006-10-6
收藏
得分:0 
谢谢版主

2006-10-23 19:25
chuxiaowei
该用户已被删除
收藏
得分:0 
提示: 作者被禁止或删除 内容自动屏蔽
2010-04-30 07:10
快速回复:关于c-free3.5注册小程序的问题?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.041834 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved