自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Acheld的博客

the A is silent

  • 博客(5)
  • 资源 (2)
  • 收藏
  • 关注

原创 error LNK2019,cpp文件调用C代码

// ******************************* Interface.h -- cpp file call C code version 1.0.8, Mar 29th, 2016 Copyright (C) 2015-2016 Acheld CHEN This software is provided 'as-is', without any expre

2016-03-29 23:02:03 691

原创 无法打开包括文件:“inttypes.h

#include编译时,找不到此文件,所以无法打开方法:   1. 获取此文件   2. 放置此文件到目录: VS2008,C:\Program Files\Microsoft Visual Studio 9.0\VC\include VS2010,C:\Program Files\Microsoft Visual Studio 10.0\VC\incl

2016-03-26 23:08:40 12887 1

原创 error C2054: 在“inline”之后应输入“(”

包含开源代码时,遇到 error C2054: 在“inline”之后应输入“(” 的问题,原因:     编译器没有识别inline参数。查阅了一下inline是c++里面的东西,在c里面使用是会发生错误。解决方法:    包含之前加入下面的宏定义#if defined(WIN32)&&!defined(_cplusplus)#define inline _inline /

2016-03-26 22:51:41 1549

原创 Ocx 控件添加函数接口,注册控件

MFC Ocx 控件添加函数接口注册控件注销控件

2016-03-21 22:56:09 2332

原创 CreateWindowEx()自定义窗口句柄,消息处理

///*************************************************** MyWnd.h -- MACRO Definition of the wnd ,Can be used anywhere U Want version 1.0.8, March 21th, 2016 Copyright (C) 2015-2016 Acheld CHEN

2016-03-21 22:44:01 1760

FtpLib upload class

char usrpasswd[256]; sprintf(usrpasswd, "%s:%s", user, password); FILE *file = fopen(localpath, "rb"); if (file == NULL) { perror(NULL); return FTP_LOCALFILE_NOTACCESS; } CURLcode resCode = FtpUpload(remotepath, usrpasswd,file); if (resCode == CURLE_OK){ return FTP_OK; } else { char errorMsg[1023]; sprintf(errorMsg, "%s/n", curl_easy_strerror(resCode)); if (resCode == CURLE_LOGIN_DENIED){ return FTP_LOGIN_DENIED; } else if (resCode == CURLE_COULDNT_CONNECT){ return FTP_COULDNT_CONNECT; } return FTP_FAIL; }

2016-08-22

inttypes.h

inttypes.h

2016-03-26

空空如也

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

TA关注的人

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