1 #include 2 using namespace std; 3 int main(){ 4 char a[50]; 5 int i,j; 6 cin.getline(a,50); 7 for(i=0;a[i]!='#';++i) 8 if(a...
分类:
其他好文 时间:
2014-07-05 19:02:25
阅读次数:
184
4 Work Mistakes You Don't Realize You're Making你在工作中无意间会犯的四个错误When you’re the new girl at work, you do everything in your power to stay on your best b...
分类:
其他好文 时间:
2014-07-05 18:53:56
阅读次数:
204
package com.letv.cloud.spider;import java.util.HashSet;import java.util.List;import us.codecraft.webmagic.Page;import us.codecraft.webmagic.Site;impor...
分类:
Web程序 时间:
2014-07-05 18:52:01
阅读次数:
266
今天有个兄弟问如何实现以XML的方式输出内表的内容,这个问题我以前好像没有写过。倒不是不会写,而是写的方法太多了,有极其简单的,也有很复杂的,而且网上资料也很多。找到以前写的一个程序,稍微修改了一下,能实现一般的功能。*&---------------------------------------...
分类:
其他好文 时间:
2014-07-05 18:50:00
阅读次数:
166
//在这里,我来总结一下关于资源文件的相关操作。//1.比较常见的有获取资源文件对应的文件流,然后转换到相对应的文件//比较典型的做法是通过代码程序集加载指定资源//如下通过Assembly的静态方法GetExecutingAssembly()得到程序集//还有很多方式可以得到代码程序集C#代码 ....
分类:
其他好文 时间:
2014-07-05 18:48:48
阅读次数:
150
2014年7月3日 17:39:35简易版:index.php->codeIgniter.php->找到控制器类文件并include->创建实例->执行成员函数详细版本:index.php包含codeIgniter.php包含Router.php找到控制器类文件并include判断该类是存在&&类名...
分类:
其他好文 时间:
2014-07-05 18:48:12
阅读次数:
290
1 #include 2 using namespace std; 3 int main(){ 4 int i,n,a[1000],c[10]={0},max=0; 5 cin>>n; 6 for(i=0;i>a[i]; 8 for(i=0;i<n;++i) 9 ...
分类:
其他好文 时间:
2014-07-05 18:40:55
阅读次数:
244
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-07-05 18:37:04
阅读次数:
188
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s; 6 int i,sum=0; 7 bool flag=false,f=false; 8 getline(cin,s); 9 ...
分类:
其他好文 时间:
2014-07-03 23:32:12
阅读次数:
304