一般有两种情况 检查服务端out.print();方法这里是否出错了,如果要使用in.readline() 那么服务器端就要使用 out.println(); (这个是网上说的) out=new PrintWriter(this.socket.getOutputStream(),true); 新件...
分类:
其他好文 时间:
2015-07-10 19:22:57
阅读次数:
175
Console.WriteLine("请输入分数的个数:"); int a = Convert.ToInt32(Console.ReadLine()); int [] fs = new int [a]; if (a < 5) ...
分类:
其他好文 时间:
2015-07-10 00:23:25
阅读次数:
81
手机号排序 Console.WriteLine("请输入手机号的个数:"); int a = Convert.ToInt32(Console.ReadLine()); string[] sj = new string[a]; for ...
分类:
移动开发 时间:
2015-07-10 00:07:40
阅读次数:
148
Console.WriteLine("请输入球员的个数:"); int a = Convert.ToInt32(Console.ReadLine()); int[] n = new int[a];//定义一维数组 for (int i = 0; ...
分类:
编程语言 时间:
2015-07-10 00:03:42
阅读次数:
217
//输入n个学生分数,排名 Console.WriteLine("请输入学生的人数:"); int n = Convert.ToInt32(Console.ReadLine()); int[] fs = new int[n]; ...
分类:
编程语言 时间:
2015-07-09 00:25:26
阅读次数:
141
1.左下角直角三角形Console.Write("请输入要打印几行:"); int a = Convert.ToInt32(Console.ReadLine()); for (int i = 1; i = 0; j--) { ...
分类:
其他好文 时间:
2015-07-09 00:08:01
阅读次数:
166
一、主函数:namespace ConsoleApplication 这是命名空间class Program 类static void Main(string[] args) 方法主函数的内容:输入语句:Console.ReadLine();//一次读入一行 Console.ReadKey();//...
分类:
编程语言 时间:
2015-07-08 00:32:43
阅读次数:
131
例1:客服选择功能,然后按按键Console.WriteLine("查花费请按1,查余额请按2,查流量请按3,办理业务请按4,宽带请按5,人工服务请按6,集团业务请按7"); int a = Convert.ToInt32(Console.ReadLine());//选择一个功...
分类:
其他好文 时间:
2015-07-08 00:31:51
阅读次数:
157
Console.WriteLine("请输入第一个数:"); int a = Convert.ToInt32( Console.ReadLine()); Console.WriteLine("请输入第二个数:"); int b = C...
分类:
其他好文 时间:
2015-07-08 00:26:34
阅读次数:
98
while (true) { Console.WriteLine("请输入你的姓名:"); string name1 = Console.ReadLine(); int seed1 = 0...
分类:
其他好文 时间:
2015-07-08 00:20:24
阅读次数:
154