![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
我的C++之路
action爱生活
初来乍到,大家多多关注。
展开
-
mciSendString
mciSendString用法 2010-10-29 19:43:53| 分类: win编程|举报|字号 订阅 使用MCI API,源文件中需要包含头文件 Mmsystem.h,在Project->Settings->Link->Object/libray module中加入库 Winmm.lib。 VS2008在源文件加上#include "mmsy转载 2014-02-20 10:59:15 · 597 阅读 · 0 评论 -
windows核心编程单例模式代码
Singleton.cpp /****************************************************************************** Module: Singleton.cpp Notices: Copyright (c) 2008 Jeffrey Richter & Christophe Nasarre *******************原创 2014-03-25 10:13:56 · 439 阅读 · 0 评论 -
C++经典面试题
1.输入一个字符串,将其逆序后输出。(使用C++,不建议用伪码) #include using namespace std; void main() { char a[50];memset(a,0,sizeof(a)); int i=0,j; char t; cin.getline(a,50,'\n'); for(i=0,j=strlen(a)-1翻译 2014-03-31 17:55:23 · 309 阅读 · 0 评论 -
temp
//--------------------------------------------------------------------------- int __fastcall MyClient::ReceiveStr(char * _Buf,int length) //接收数据 { if(length<=0) return 0; int aLen=0; int原创 2014-04-02 10:10:10 · 361 阅读 · 0 评论 -
C/C++代码
/* * Helper function to read the content of a file into a buffer * avoids incompatible systemcalls */ static void *read_file(FILE *fp, size_t *o_filelen) { size_t filelen = 0, len = 0; char原创 2014-03-10 18:30:07 · 304 阅读 · 0 评论 -
C的静态函数
C语言的静态函数 当一个源程序由多个源文件组成时,根据函数能否被其它源文件中的函数调用,将函数分为内部函数和外部函数。 1 内部函数(又称静态函数) 如果在一个源文件中定义的函数,只能被本文件中的函数调用,而不能被同一程序其它文件中的函数调用,这种函数称为内部函数。 定义一个内部函数,只需在函数类型前再加一个“static”关键字即可: static 函数类型 函数名(函数参数表转载 2014-03-10 18:26:24 · 333 阅读 · 0 评论 -
将博客搬至CSDN
XXX原创 2015-01-22 17:06:14 · 263 阅读 · 0 评论