自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 explicit关键字

关键字explicit,可以阻止不应该允许的经过转换构造函数进行的隐式转换的发生。声明为explicit的构造函数不能在隐式转换中使用。例子:class Test1  {  public:  Test1(int n) { num = n; } //普通构造函数  private:  int num;  };  class Test2  {  public:  ex...

2018-09-13 22:39:54 522

原创 简单的五子棋程序(可悔棋版和普通版)

//普通版#include #include #include #include #define N  8void display(char (* p)[N]){     system("cls");    int i,j;    for(i=0; i    {        for(j=0; j        {            pr

2017-10-17 20:27:15 5741 2

原创 多进程版文件加密系统

//客户端向服务器发送加密请求,服务器接收后向客户端提供加密码,并记录保存,解密时客户端发送请求,服务器寻找对应加密码并发送给客户端//客户端#include#include#include#include#include#include#include#include #include #include #define MAXLINE 50

2017-10-17 20:20:21 249

原创 多线程版文件加密系统

客户端发送文件到服务器 ,服务器接收后加密文件并备份源文件,发送加密后文件至客户端//客户端#include#include#include#include#include#include#include#include #include #include #define MAXLINE 50/*void sendstring(int

2017-10-17 20:13:36 396

转载 自启动项

#include#includechar *GetFilename(char *p) //得到一个路径的纯文件名{  char ch='\\';  char *q=strrchr(p,ch);  return q;}int main(){  char *filepath="C:\\Users\\Administrator\\Deskt

2017-06-08 11:06:56 197

原创 c#文件加密程序

#include #include #include #define N 1024#define Success 1#define Failed 0#define LEN 300typedef int state;typedef struct{    char dirPath[LEN];    char fileName[LEN];    c

2017-06-08 11:04:30 403

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除