码迷,mamicode.com
首页 >  
搜索关键字:who am i    ( 4395个结果
第三章 数据类型和变量
程序的基本功能是处理数据。 程序用变量来表示数据。 public int add(int am, int b){ int result=a+b; return result; } a b result都是变量。 数据类型名 变量名; int result; 上边代码定义了一个变量,名为result, ...
分类:其他好文   时间:2020-05-23 20:11:49    阅读次数:48
Ceilometer
一:简介 一、背景 1. 为什么要有Ceilometer 1. 通常云的计算层次 1. 计量 (Metering): 收集资源的使用数据,其数据信息主要包括:使用对象(what), 使用者(who), 使用时间(when)和 用量(how much)。 2. 计费 (Rating):将资源使用数据按 ...
分类:其他好文   时间:2020-05-23 13:13:08    阅读次数:110
JavaScript里的静态方法和实例方法
var Person=function(){}; 定义一个function实际上是定义了一个类(class)。 静态方法 Person.say=function(){ console.log('I am a Person,I can say.') }; Person.say(); //正常运行 va ...
分类:编程语言   时间:2020-05-21 16:31:38    阅读次数:63
Season01_01
Hey, what are you doing? 你干什么 Jesus! 天哪 Did you get a good look? 你看清肇事的车了吗 Blue Toyota Camry, it's all I saw.只看到是辆蓝色丰田佳美 It's the Wharton's dog. 是沃顿家的 ...
分类:其他好文   时间:2020-05-20 20:12:43    阅读次数:81
构建基本 bash 脚本
一 第1个脚本 #!/bin/bash # 这一行表示用 bash 执行 # test # 这一行以及此后以 # 开头的行都是注释,不会被 shell “解释” date # 显示时间 who # 显示当前在线的用户 写好上面的文件,命名"test.sh",可以如下执行脚本 bash test.sh ...
分类:其他好文   时间:2020-05-20 13:59:47    阅读次数:58
git简要操作和代码合并
1、git clone http://xxxxxxxxxx.git2、git checkout -b xxxxxx 创建分支,在做新任务之前一定要做3、git add -A4、git commit -am "modified message"5、git push origin xxxxx6、git ...
分类:其他好文   时间:2020-05-20 12:25:20    阅读次数:96
PAT 1004 Counting Leaves (30分)
题目 A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Specification: Each ...
分类:其他好文   时间:2020-05-18 18:45:58    阅读次数:61
字符串的修改
题面: 【问题描述】 有 A=a1a2a3?am,B=b1b2b3?bn 两个字符串(均为小写字母)现在要通过以下操作将 A 或 A 的一个后缀修改为 B: 1. 删除 删除掉 A 中的某一个字符。 2. 添加 将某一个字符添加到 A 中任意位置。 3. 替换 将 A 中某一字符替换为另一个。 求出 ...
分类:其他好文   时间:2020-05-16 12:17:57    阅读次数:123
C++-声明类的变量指针和函数指针
使用void(Student::*pwho) void = & Student::who // 构造函数指针 使用string Student::*p_name = & Student::m_name //构造变量指针 #include <iostream> #include <cstdio> us ...
分类:编程语言   时间:2020-05-16 00:25:25    阅读次数:55
mysql中将多行数据合并成一行数据
一个字段可能对应多条数据,用mysql实现将多行数据合并成一行数据 例如:一个活动id(activeId)对应多个模块名(modelName),按照一般的sql语句: 1 SELECT am.activeId,m.modelName 2 FROM activemodel am 3 JOIN mode ...
分类:数据库   时间:2020-05-15 13:52:49    阅读次数:66
4395条   上一页 1 ... 17 18 19 20 21 ... 440 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!