static的作用: 1.第一条也是最重要的一条:隐藏 当我们同时编译多个文件时,所有未加static前缀的全局变量和函数都具有全局可见性。如果加了static,就会对其它源文件隐藏。例如在a和msg的定义前加上static,main.c就看不到它们了。利用这一特性可以在不同的文件中定义同名函数和同 ...
分类:
其他好文 时间:
2019-09-14 00:18:41
阅读次数:
113
cat /etc/rc0.d/K01rtslib-fb-targetctl case "$1" instart) check_configfs_module check_configfs_mounted log_daemon_msg "Loading $DESC" "$NAME" ${DAEMON} ...
分类:
系统相关 时间:
2019-09-11 19:52:04
阅读次数:
143
File节点是操作文件的节点 file文件的保存 拖拽 注入节点inject file节点(writes msg.payload to a file)和 debug节点到工作区,并连线 设置file节点的文件路径 windows如果不设置路径,会保存在C:\Users\Administrator d ...
分类:
其他好文 时间:
2019-09-11 13:59:02
阅读次数:
104
当前台页面是否提示有没有输入账号密码时 这时需要验证 //验证账号是否为空 if(string.IsNullOrEmpty(zh)) { //为空 则提示输入账号 ObjToJsin.msg = "请输入账号"; string ZFC = JsonConvert.SerializeObject(Ob ...
分类:
其他好文 时间:
2019-09-10 12:54:33
阅读次数:
66
program AutoShutDown;usesWindows,ShellAPI,Sysutils,Messages;{$R *.RES}varWinClass: TWndClassA;Handle: hwnd;Inst, Button1, Label1, Edit1: Integer;Msg: ...
分类:
其他好文 时间:
2019-09-09 10:27:23
阅读次数:
99
jsonData 为后台的属性名$.each($.parseJSON(msg.jsonData),function(i,item){if (item.success==1) { layer.msg("删除成功!");} else { layer.msg("删除失败!");}}); ...
分类:
编程语言 时间:
2019-09-08 20:30:59
阅读次数:
106
var content = $("#msg-text").val(); //发送聊天,拼接字符串-转义字符用\ var html = "<div class=\"msg-item msg-item-self msg-content\">"+ "<img class=\"msg-user-img\" ... ...
分类:
其他好文 时间:
2019-09-07 16:04:50
阅读次数:
93
引用类库:using NPOI.SS.UserModel; string strSql = string.Empty; DataTable dt = new DataTable(); DataSet ds = null; string Msg = string.Empty; string fileP ...
分类:
其他好文 时间:
2019-09-05 18:52:59
阅读次数:
160
//把字符串中所有=换成&&& let reg=new RegExp('=','g')//g代表全部 let newMsg=JSON.stringify(msg).replace(reg,'&&&'); console.log(newMsg) ...
分类:
其他好文 时间:
2019-09-05 13:28:37
阅读次数:
652
这两个宏表示这个类的消息映射开始和结束,中间的宏定义定义了此类的所有的消息映射。前面的afx_msg void OnPaint();只是声明OnPaint()函数的一个消息处理函数,然后是OnPaint()函数的定义,但是函数定义在那儿是不会自己去执行的,ON_WN_PAINT()宏是一个系统消息映 ...
分类:
其他好文 时间:
2019-09-04 11:35:13
阅读次数:
114