码迷,mamicode.com
首页 >  
搜索关键字:temp    ( 7776个结果
无法打开模块文件“C:\Users\fkg\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb”系统找不到指定文件
错误原因:错误5 无法打开模块文件“C:\Users\fkg\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.vb”: 系统找不到指定的文件。 背景:最近在重构的时候遇到了一个问题,提示:对象定义被隐藏。心里一颤,不会是我误删了系统里的东西了吧。还是先从网上查一下吧。后来才知道是Win7系统会涉及到好多权限的...
分类:移动开发   时间:2015-01-31 19:28:02    阅读次数:7408
Java生成6位随机数
//新建一个HashSetHashSet sixHashSet = new HashSet();//满6位时结束循环 while (sixHashSet.size() != 6) { String temp = Integer.toString((int) (Math.random() * ...
分类:编程语言   时间:2015-01-31 00:17:24    阅读次数:153
学术休假-区号查询
不得不吐槽一下CSDN的审核速度,前天发表的文章到现在还没有审核完。好吧,寒假理解。 下午无聊想查一下某城市的区号,还是找到度娘,后来索性任性了一会,用C++写了一个区号查询。 程序和先前的写作风格差不多,利用多函数,文件查找,结构比较简单。 上源码: /* *Copyright (c) 2015,烟台大学计算机学院 *All gight reserved. *文件名称:temp.c...
分类:其他好文   时间:2015-01-30 22:48:14    阅读次数:286
C指针笔记
指针的学习两个数比较大小,通过传递内容进行比较#include void swap(int *p1, int *p2){ int temp; //注意指变量*的两个地方 定义用* 获取指针所指向的内容用* 指针变量自己的内容不带* temp = *p1; *...
分类:其他好文   时间:2015-01-30 15:11:28    阅读次数:188
4x4矩阵键盘 扫描程序
一:不排除第四位异常处理uchar JuzhenkeyScan(){// P3=0xfe;// temp=P3;// while(temp!=0xfe)// {// temp=P3;// switch(temp)// {// c...
分类:其他好文   时间:2015-01-29 23:53:13    阅读次数:188
一个javascript类包装器
首先在js中如此创建一个类:var MyClass = function () { /* ... */};MyClass.prototype.method = function() { /* ... */};要创建一个继承Base的子类:var temp = function () {}...
分类:编程语言   时间:2015-01-29 21:07:33    阅读次数:353
LIS的nlogn
nlogn老忘,开个帖记录一下开一个栈,每次取栈顶元素top和读到的元素temp做比较,如果temp > top 则将temp入栈;如果temp b[i-1] 并且num=b[mid]) low=mid+1; else high=mid-1; } return low;}i...
分类:其他好文   时间:2015-01-29 17:30:15    阅读次数:174
求两个时间点的最短距离
#include "iostream"#include "cmath"using namespace std;int sort(int a[],int n){ int temp,all=0; for(int i=0;ia[j]) {temp=a[i];a[i]=a[j];a[j]=temp;} } ...
分类:其他好文   时间:2015-01-29 12:10:15    阅读次数:115
hdu 2527
#include #include #include using namespace std;int main(){ int n; cin>>n; while(n--) { map count; map::iterator iter; int m; string temp; cin>>m>>temp...
分类:其他好文   时间:2015-01-29 12:08:50    阅读次数:170
map 数单词
#include #include #include #include #include #include using namespace std;int main(){ char c; map word; while((c=getchar() )!='#') { string temp=""; w...
分类:其他好文   时间:2015-01-29 12:04:31    阅读次数:153
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!