Chinaunix首页 | 论坛 | 博客
  • 博客访问: 292227
  • 博文数量: 71
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 564
  • 用 户 组: 普通用户
  • 注册时间: 2014-07-20 18:15
个人简介

用编程改变大众。。。

文章分类

全部博文(71)

文章存档

2016年(7)

2015年(54)

2014年(10)

我的朋友

发布时间:2015-11-25 10:34:50

当对一个字符数组取字符串时,一定要使用首地址。比如常见的:char a[] = "11111111"; printf("%s\n",a);特殊一点的情况,取字符数组中某个字符开始的字符串:比如: char a[] = "123456789";  printf("%s", &a[5]);则需要在该位置前面加上&。.........【阅读全文】

阅读(1448) | 评论(0) | 转发(0)

发布时间:2015-08-17 19:17:30

#include <stdio.h>
#include <stdlib.h>
#ifdef _WIN32
#include <windows.h>
#else
typedef long DWORD;
#endif
#include "avilib.h"
/*
avi转avi
by notsobad
使用av.........【阅读全文】

阅读(4508) | 评论(0) | 转发(0)

发布时间:2015-07-04 21:47:55

Q: 请问char数组最大能多少?是否无法超过1024?<br /><br /><br />我指定char&nbsp;&nbsp; test[300*1024]的时候没有任何问题,而char&nbsp;&nbsp; test[1024*1024]就会出错,是否char[]无法超过1024*1024? &nbsp;<br /><br />&nbsp; 因为我需要在程序运行中,读取一个文件到内存,而文件大小不固定,大多数时候超不过3.........【阅读全文】

阅读(1422) | 评论(0) | 转发(0)

发布时间:2015-06-26 15:05:34

1......【阅读全文】

阅读(1202) | 评论(0) | 转发(0)

发布时间:2015-06-17 17:49:31

<h1><span class="link_title"><a href="http://blog.csdn.net/dijkstar/article/details/7420515"></a></span>这些函数操作“位”,经常用到:</h1><div class="dp-highlighter bg_cpp"><ol class="dp-cpp" start="1"><li class="alt"><span><span class="comment">//将双字节中某一位置位</span><span>&nbsp.........【阅读全文】

阅读(1216) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

weltion2014-07-21 21:56

总算找到归属了,这里就是IT爱好者的家

回复  |  举报
留言热议
请登录后留言。

登录 注册