码迷,mamicode.com
首页 >  
搜索关键字:gets    ( 3597个结果
Android studio启动后无法更新
I'm trying to run android-studio 1.0 on ubuntu using start up script but as i'm behind proxy the android studio gets stuck at "Fetching android sdk co...
分类:移动开发   时间:2015-02-23 10:48:17    阅读次数:168
POJ 2141
继续水 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 char f[30]; 8 char st[100]; 9 10 int main()11 {12 gets(f);13 g...
分类:其他好文   时间:2015-02-21 09:43:32    阅读次数:149
puts fputs printf的区别
puts()显示字符串时自动在其后添加一个换行符,函数里的参数是一个地址,从该地址向后面输出,直到遇到空字符,所以要确保输出的字符串里要有空字符。与gets()函数一起使用。 fputs()需要第二个参数来说明要写的文件,与puts()不同,fputs()不为输出自动添加换行符。与fgets()一起...
分类:其他好文   时间:2015-02-20 16:17:37    阅读次数:256
PAT:1009. 说反话 (20) AC
#include#include#includeint main(){ char in[90]; gets(in); char save[90][90]; memset(save,0,sizeof(save)); //【warning】memset一下,让最后是0,才不会一直输出“烫烫...
分类:其他好文   时间:2015-02-20 13:01:27    阅读次数:168
Who Gets the Most Candies?(线段树 + 反素数 )
Who Gets the Most Candies?Time Limit:5000MSMemory Limit:131072KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionNchildren are sitting in a circle ...
分类:其他好文   时间:2015-02-06 21:39:57    阅读次数:223
编译nagios-plugins报错./stdio.h:456:1:
在AWS的EC2上编译nagios-plugins报错:./stdio.h:456:1:error:‘gets’undeclaredhere(notinafunction)make[4]:***[localcharset.o]Error1make[4]:Leavingdirectory`/root/nagios-plugins-1.4.16/gl‘make[3]:***[all-recursive]Error1make[3]:Leavingdirectory`/root/nagios-pl..
分类:移动开发   时间:2015-02-06 16:56:21    阅读次数:171
利用ORACLE ADV 功能完成SQL TUNING 调优(顾问培训) “让DBA失业还是解脱?”
oracle自动判断SQL性能功能. 11G的ADV,建议.SNAPSHOT,数据集合, 存储在oracle sys $_开头的表(10几条). 创建SNAPSHOT时选择天数, 默认14天. sql orderde by Gets. Gets per exac每执行一次读取缓存次数. execut...
分类:数据库   时间:2015-02-04 21:39:19    阅读次数:162
C 去除空格(连续多个空格保留一个,一个空格不去除)
#include int main(){ int i=0,j=0; char str[100];char cpy[100];printf("输入一组语句:\n"); gets(str); while(i<100) { if (str[i]!=' ') { cpy[j++]=str[i]; i++;....
分类:其他好文   时间:2015-02-04 16:10:30    阅读次数:167
ZOJ2812------2015年2月4日
这道题很简单,但是涉及字符串的读取及常见处理。下面我贴出不同风格的代码:这个题目重要的就是如何读取有空格的字符串。代码1(我自己写的)#include#include#includeusing namespace std;char s[1000];int main(){ while(gets(...
分类:其他好文   时间:2015-02-04 10:44:23    阅读次数:147
hihoCoder - 1094 - Lost in the City (暴力枚举!!)
#1094 : Lost in the City 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Little Hi gets lost in the city. He does not know where he is. He does not know which direction is north. Fort...
分类:其他好文   时间:2015-02-04 09:30:13    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!