-
kakabossskdr
/*
base64.cpp 和 base64.h
版权所有 (C) 2004年-2008 René Nyffenegger
提供此源代码 " 作为-是 ",没有任何明示或暗示
保修。在没有事件将作者举行任何损害承担责任
因使用本软件。
授予任何人出于任何目的,使用此软件的权限
包括商业应用程序进行修改和重新发布它
自由,受到以下限制:
1.此源代码的起源必须不得歪曲 ;你必须不
声称是你写的原始源代码。如果您使用此源代码
在一种产品,确认产品文档中将
表示赞赏,但不是必需的。
2.改变源版本为此,必须有明确标记和一定不能
谎称为原始的源代码。
3.本公告不可能会被删除,或从任何源分布改动。
勒内 · Nyffenegger rene.nyffenegger@adp-gmbh.ch
*/
#include"stdafx.h"
//#include"base64.h"
#include"msvc_common.h"
#include < iostream >
静态 const std::string base64_chars =
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
""abcdefghijklmnopqrstuvwxyz
"0123456789 +";
静态内联 bool is_base64 (无符号的 char c) {
返回 (isalnum(c) | |(c == "+") ||(c == "/"));
}
std::string base64_encode (无符号的 char const * bytes_to_encode、 无符号的 in
- 2022-12-20 14:15:03下载
- 积分:1
-
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的...
八皇后VC图形演示,算法思想:回溯法,先在第1行放上一个皇后,然后在第2行合适的位置放上一个皇后,依次类推,如果8行都放满了,说明找到了一个解,如果第好第i行的皇后后,第i+1行找不到合适的位置,这时就回到第i行,把第i行的皇后放到下一个位置,继续尝试下一行。如此反复,知道找到所有的解。注意,这种算法找的解可能有等价的,某些解可由别的解经过旋转棋盘得到。-visual demostration in vc of eight queens problem.
algorithm: backtracking.
First, put a queen on first line then find a suitable position on 2nd line for next queen, and so on. When all eight lines have queens, it means we have find a solution. If we put the i-th queen, but can find a suitable position on the (i+1)th line, then back to the ith line and move the queen on the ith line to next suitable position and move on to the next line. Repeat this until we have found all the solutions. Note:By this mean, some solutions maybe equivalent to others, some can be acquired by the rotation of other solutions.
- 2022-03-23 15:20:19下载
- 积分:1
-
List control 扩展
List control 扩展-List control expansion
- 2022-12-23 21:00:02下载
- 积分:1
-
DAQ数据采集
应用背景
选用NI公司的数据采集卡PCI-6023E,进行数据的采集显示,处理等
选用NI公司的数据采集卡PCI-6023E,进行数据的采集显示,处理等
选用NI公司的数据采集卡PCI-6023E,进行数据的采集显示,处理等
关键技术
利用labwindows自带的DAQ助手实现数据的采集,图像显示
利用labwindows自带的DAQ助手实现数据的采集,图像显示
利用labwindows自带的DAQ助手实现数据的采集,图像显示
- 2022-07-07 10:47:47下载
- 积分:1
-
虚拟桌面的完整性,使用定时器控制
一个虚拟桌面的完整程序,使用了 Timer 控件-The integrity of a virtual desktop, the use of a Timer control
- 2022-05-13 00:16:09下载
- 积分:1
-
韩杰 (像数独游戏)
数独之类的小游戏可以玩,恢复和保存你的游戏。 韩杰 (或 picross) 是一个聪明游戏和逻辑。如果你喜欢数独或数谜你去崇拜韩杰 !
- 2022-02-13 06:44:56下载
- 积分:1
-
MWC2.1
MWC飞控2.1版本固件。测试过飞行十分稳定
- 2022-01-25 22:41:40下载
- 积分:1
-
步骤:。编译DLL:CL / LD f.cpp。查看出口:dumpbin /exports f.dll的…
steps: . compile dll: cl /LD f.cpp . view the exports: dumpbin /exports f.dll . compile exe: cl test.cpp . run: test
- 2022-03-24 08:35:04下载
- 积分:1
-
查找第k小元素算法的实现,很实用的一个算法程序,欢迎大家下载...
查找第k小元素算法的实现,很实用的一个算法程序,欢迎大家下载-Small element of the first k search algorithm, an algorithm is practical procedures, welcomed everyone to download
- 2023-03-07 19:45:03下载
- 积分:1
-
加强美化的vb控件包,包含17个源码的图形界面控件包。
加强美化的vb控件包,包含17个源码的图形界面控件包。-to beautify the vb control packet contains 17 GUI source code control packages.
- 2022-03-31 03:55:39下载
- 积分:1