上一页 1 ··· 17 18 19 20 21
  2015年5月14日
摘要: 用ssh登录一个机器(换过ip地址),提示输入yes后,屏幕不断出现y,只有按ctrl + c结束 错误是:The authenticity of host 192.168.0.xxx can't be established. 以前和同事碰到过这个问题,解决了,没有记录,这次又碰到了不知道怎么处理... 阅读全文
posted @ 2015-05-14 22:57 IT小不点 阅读(373) 评论(0) 推荐(0) 编辑
  2015年5月9日
摘要: //函数接口设计不好,因此都是主函数调用,程序比较混乱 //算是我自己写的比较长的代码mark// 阅读全文
posted @ 2015-05-09 17:10 IT小不点 阅读(246) 评论(0) 推荐(0) 编辑
  2015年5月1日
摘要: 一般认为在c中分为这几个存储区1栈 - 有编译器自动分配释放2堆 - 一般由程序员分配释放,若程序员不释放,程序结束时可能由OS回收3全局区(静态区),全局变量和静态变量的存储是放在一块的,初始化的全局变量和静态变量在一块区域,未初始化的全局变量和未初始化的静态变量在相邻的另一块区域。 程序结束释放... 阅读全文
posted @ 2015-05-01 17:26 IT小不点 阅读(245) 评论(0) 推荐(0) 编辑
  2015年4月30日
摘要: 1 #include 2 #include 3 #include 4 #define ISYEAR(year) (year%400==0) ||(year%4==0&&year%100!=0) 5 int DayofYear(int year, int month, int day); 6 7 8 int main(int argc, char *arg... 阅读全文
posted @ 2015-04-30 15:22 IT小不点 阅读(224) 评论(0) 推荐(0) 编辑
  2015年4月29日
摘要: #include <stdio.h>#include <stdlib.h>int DayofYear(int year, int month, int day);#define ISYEAR(year) (year%400==0) ||(year%4==0&&year%100!=0) int mai 阅读全文
posted @ 2015-04-29 20:38 IT小不点 阅读(134) 评论(0) 推荐(0) 编辑
  2015年4月28日
摘要: #include <stdio.h>#include <stdlib.h>#include <ctype.h> int main(int argc, const char * argv[]) { // 统计键盘输入的字符中字母,数字,其他字符的个数,ctl+z结束 //打印出统计图 int alp, 阅读全文
posted @ 2015-04-28 23:30 IT小不点 阅读(114) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>#include <stdlib.h>#include <string.h> int main(int argc, char *argv[]){ /*十进制准换城任何进制的程序*/ int ival, base; //ival 是十进制数,base 是要转换的进制 阅读全文
posted @ 2015-04-28 20:41 IT小不点 阅读(277) 评论(0) 推荐(0) 编辑
  2015年4月27日
摘要: 恢复内容开始 题目:输出特殊图案,请在c环境中运行,看一看,Very Beautiful! 1.程序分析:字符共有256个。不同字符,图形不一样。 2.程序源代码: [code=c] #include "stdio.h" main() { char a=176,b=219; printf("%c%c 阅读全文
posted @ 2015-04-27 15:59 IT小不点 阅读(2316) 评论(0) 推荐(0) 编辑
摘要: 企业利润计算 我的第一个留存代码。 题目:企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高 于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可可提 成7.5%;20万到40万之间时,高于20万元的部分,可提成5%;40万到60万之间时 阅读全文
posted @ 2015-04-27 14:44 IT小不点 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21