码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
四则运算源程序
//四则运算程序,支持真分数运算//2016,03,04 #include<iostream>#include<stdlib.h>#include<time.h>using namespace std; void zuidagongyue(int chushu){ int beichushu = 1
分类:其他好文   时间:2016-03-06 18:53:09    阅读次数:140
C++的函数重载
1.所谓重载: 函数重载就是对已有的函数赋予新的含义,使之实现新的功能,因此同一个函数名就可以用来代替不同功能的函数。 2.声明、定义函数重载时如何解决命名冲突问题? using就是一种解决命名冲突的方法 3运算符重载实质上就是函数重载 重载运算符的的函数如下: 函数类型..
分类:编程语言   时间:2016-03-06 17:42:34    阅读次数:260
在大于32GB或64GB容量的SD卡上使用NOOB安装树莓派 - Using NOOB on SD cards larger than 32GB or 64GB for Raspberry Pi
在树莓派上玩了一小段时间了,因为装的软件包越来越多,所以越来越感觉16G的SD卡没办法长期使用下去。于是采购了几张64G的SD卡,打算周末装上系统。可是按照一般的流程,在Windows下用SD Formatter格式化后,我的Raspberry Pi 2B似乎完全无动于衷,一点反应也没有。经过查找资
分类:Web程序   时间:2016-03-06 17:32:10    阅读次数:198
Map <STL>
map的使用方法: 1 #include <cstdio> 2 #include <map> 3 #include <string> 4 using namespace std; 5 6 int main() 7 { 8 //声明int为键,const char* 为值 9 map<int,cons
分类:其他好文   时间:2016-03-06 17:24:32    阅读次数:130
四则运算
题目:设计一个简单的小学四则运算器,要求随机产生30道四则运算题 思路:首先想到的是先产生2个随机数,再用for循环进行30次四则运算 代码: #include<iostream>#include<stdlib.h> using namespace std;int main(){ int a ,b,
分类:其他好文   时间:2016-03-06 17:23:13    阅读次数:176
二叉搜索树的实现
复杂度 O(logn) 1 #include <queue> 2 #include <cstdio> 3 using namespace std; 4 5 //表示节点的结构体 6 struct node{ 7 int val; 8 node *lch,*rch; 9 }; 10 11 //插入数值
分类:其他好文   时间:2016-03-06 17:21:36    阅读次数:164
C#第三节课(2)
运算符 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace yunsuanfu{ class Program
分类:Windows程序   时间:2016-03-06 17:14:57    阅读次数:207
Set <STL>
set是维护集合的容器 1 #include <cstdio> 2 #include <set> 3 using namespace std; 4 5 int main() 6 { 7 //声明 8 set<int> s; 9 10 //插入元素 11 s.insert(1); 12 s.inser
分类:其他好文   时间:2016-03-06 17:12:18    阅读次数:117
C#第三节课(1)
数据类型 using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace shujuleixing{ class Pro
分类:Windows程序   时间:2016-03-06 17:11:55    阅读次数:257
Install Python Modules
1. using pip (for ubuntu: using "sudo apt-get install python3-pip" to install pip for python3): pip install mudulename 2. using sudo command in Linux
分类:编程语言   时间:2016-03-06 17:11:15    阅读次数:178
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!