码迷,mamicode.com
首页 > 编程语言 > 详细

c++ memset函数

时间:2018-02-09 22:37:54      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:log   cstring   class   post   第一个   bsp   gpo   数字   ring   

函数名称:memset

函数所需头文件:#include<cstring>

函数作用:内存赋值函数,用来给某一块内存空间进行赋值的。

函数结构:memset(变量,一个数字,一个数字)         注:第一个数字为赋值大小,第二个数字为所要赋值的字节大小。

 

c++ memset函数

标签:log   cstring   class   post   第一个   bsp   gpo   数字   ring   

原文地址:https://www.cnblogs.com/lipeiyi520/p/8436582.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!