码迷,mamicode.com
首页 >  
搜索关键字:activemq console    ( 15604个结果
32,初探c++标准库
1. 有趣的重载 (1)操作符<<:原义是按位左移,重载“<<”可将变量或常量左移到对象中 重载左移操作符(仿cout类) 1 #include<stdio.h> 2 3 const char endl = '\n'; //将换行定义为一个常量 4 5 class Console //Console ...
分类:编程语言   时间:2020-07-26 02:01:24    阅读次数:69
瀑布流效果js实现
瀑布流js实现 1 // 页面尺寸改变时实时触发 2 window.onresize = function() { 3 //重新定义瀑布流 4 waterFall(); 5 }; 6 7 //初始化 8 window.onload = function(){ 9 console.log("开始瀑布流 ...
分类:Web程序   时间:2020-07-26 01:42:52    阅读次数:97
对象枚举
var obj={ name:"zzz", age:11, sex:"mal"} for(var pro in obj){ console.log(pro) console.log(obj.pro)//undefined (因为底层转化为obj["prop"],所以把prop当成了属性,于是打印un ...
分类:其他好文   时间:2020-07-26 01:33:12    阅读次数:57
vscode vue自动生成代码段
设置-用户代码片段-搜索vue-点击vue-全选粘贴 { "Print to console": { "prefix": "vu", //写成自己满意的前缀(name) "body": [ "<template>", " <div></div>", "</template>", "", "<scri ...
分类:其他好文   时间:2020-07-25 11:34:42    阅读次数:104
js_if_and_for
<!DOCTYPE html><html lang="en"><head> <title>Title</title> <meta charset="UTF-8"><!--&lt;!&ndash; <script src="js_file01.js"></script>&ndash;&gt; 尽量放后 ...
分类:Web程序   时间:2020-07-25 09:56:22    阅读次数:87
JavaScript学习系列博客_12_JavaScript中的break、continue关键字
break关键字 -break关键字可以用来退出switch或循环语句 -不能在if语句中使用break和continue,但不是说if语句里面不能写break关键字,break关键字一定要包含在switch或循环语句中。 正确的: for(var i=0 ; i<5 ; i++){ console ...
分类:编程语言   时间:2020-07-25 09:40:31    阅读次数:59
使用re2库实现简单的正则表达式匹配
reg_test.cpp内容如下: #include <vector> #include <fmt/format.h> #include <console_color.h> #include <re2/re2.h> using namespace re2; using namespace std; ...
分类:其他好文   时间:2020-07-24 21:48:06    阅读次数:101
500 JavaScript立即执行函数的4种不同写法,定时器
// 第1种 (function fn(i) { console.log(i) // 22 })(22); // 第2种 (function () { // open IIFE // inside IIFE }()); // close IIFE // 第3种 !function () { // o ...
分类:编程语言   时间:2020-07-24 19:05:17    阅读次数:65
vue 的几个事件
<!-- 一、 监听input事件 --> <input type="text" v-model="txt" v-on:input="shuru" /> shuru(){ console.log(this.txt) } ...
分类:其他好文   时间:2020-07-24 15:53:31    阅读次数:66
ES7-ES10的新特性
ES7 1. 数组查找与元素是否存在 let arr = [0, 1, 2, 3, 4, 5, 6] console.log(arr.includes(4)) 2. 乘方的新写法 // es7之前 console.log(Math.pow(2, 3)) // es7 console.log(2 ** ...
分类:其他好文   时间:2020-07-24 15:48:39    阅读次数:50
15604条   上一页 1 ... 55 56 57 58 59 ... 1561 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!