C++编写的16进制转换成10进制的代码 //16Radix number to Decimal //Programming by : Erfan Nasoori //Mail :…
C++在windows下获取本地主机ipv4地址和ipv6地址 #include <Winsock2.h> #include <stdio.h> #incl…
//Decimal to hexadecimal number //programming by : Erfan Nasoori //Date of send : 2009/1/1…
linux C++连接数据库postgreSql,在centos6.3,eclipse下调试成功 #include <stdio.h> #include <std…
C++编写的用于去除C、C++、Java等语言的注释的代码片段 // author :Rohith Gowda // - remove C/C++ comments // - as…
/* *@Abstract getHostInformation */ #include <stdio.h> #include <stdlib.h> #in…
#pragma once template<typename T,std::size_t nNum> class CMemPool { public: CMemPool…
Base64编码在邮件中最为常见,呵呵,因为我最近就是在做邮箱报警,SMTP验证就是Base64编码用户名和密码进行验证的,并且图片为附件也是要 转换成base64编码的数据,然后…
/* * Make sure project type is windows application */ #define _WIN32_WINNT 0x0500 #include…
/* This is a program for Encryption and Decryption This program uses the Simple Data Encry…
#define _WIN32_WINNT 0x0500 #include<fstream> #include<windows.h> using namesp…
/* * main.c * ---------------------------------------------- * 2013-01-09 chrisniu1984@gma…