首页 软件开发 代码片段 c/c++ ( Page 11 )

c/c++ 378

#C/C++
C++编写的16进制转换成10进制的代码

C++编写的16进制转换成10进制的代码 //16Radix number to Decimal //Programming by : Erfan Nasoori //Mail :…

2015-06-29 372

#C/C++
C++在windows下获取本地主机ipv4地址和ipv6地址

C++在windows下获取本地主机ipv4地址和ipv6地址 #include <Winsock2.h> #include <stdio.h> #incl…

2015-06-29 870

#C/C++
C++编写的十进制转换成16进制代码

//Decimal to hexadecimal number //programming by : Erfan Nasoori //Date of send : 2009/1/1…

2015-06-29 689

#C/C++
linux C++连接数据库postgreSql

linux C++连接数据库postgreSql,在centos6.3,eclipse下调试成功 #include <stdio.h> #include <std…

2015-06-29 280

#C/C++
C++编写的用于去除C、C++、Java等语言的注释的代码片段

C++编写的用于去除C、C++、Java等语言的注释的代码片段 // author :Rohith Gowda // - remove C/C++ comments // - as…

2015-06-29 485

#C/C++
Linux C 获取本机相关信息

/* *@Abstract getHostInformation */ #include <stdio.h> #include <stdlib.h> #in…

2015-06-29 149

#C/C++
C++内存池实现(非线程安全)

#pragma once template<typename T,std::size_t nNum> class CMemPool { public: CMemPool…

2015-06-29 892

#C/C++
Base64编码的原理及C++实现代码

Base64编码在邮件中最为常见,呵呵,因为我最近就是在做邮箱报警,SMTP验证就是Base64编码用户名和密码进行验证的,并且图片为附件也是要 转换成base64编码的数据,然后…

2015-06-29 294

#C/C++
Windows下C++通过hook捕捉鼠标

/* * Make sure project type is windows application */ #define _WIN32_WINNT 0x0500 #include…

2015-06-29 481

#C/C++
C++简单数据加密算法实现加密和解密

/* This is a program for Encryption and Decryption This program uses the Simple Data Encry…

2015-06-29 125

#C/C++
Windows下C++通过Hooks记录键盘敲击记录

#define _WIN32_WINNT 0x0500 #include<fstream> #include<windows.h> using namesp…

2015-06-29 778

#C/C++
C++获取本机IP地址列表

/* * main.c * ---------------------------------------------- * 2013-01-09 chrisniu1984@gma…

2015-06-29 724
1 9 10 11 12 13 32