2015年4月24日

摘要: GitHub 仓库地址https://github.com/FBean/test.gitGitHub 常用命令add--Add file contents to the index bisect--Find by binary search the change that introduced a ... 阅读全文
posted @ 2015-04-24 14:50 残阳遗落 阅读(135) 评论(0) 推荐(0) 编辑
 
摘要: 使用工具Visual Studio,创建一个C++或C#Windows程序,在主窗口中显示“Hello World”,用户可以用鼠标拖动“Hello World”在主窗口中移动首先创建一个项目​选择【Visual C# 】中的 【Windows窗体应用程序]】输入名称(可以保持默认),选择位置,单击... 阅读全文
posted @ 2015-04-24 14:49 残阳遗落 阅读(834) 评论(0) 推荐(0) 编辑
 
摘要: 把一个英文句子中单词的次序颠倒后输出。例如程序的输入是“how are you”,则返回“you are how”import java.util.Scanner;public class Strrev{ public static void main(String[] args) { ... 阅读全文
posted @ 2015-04-24 14:48 残阳遗落 阅读(124) 评论(0) 推荐(0) 编辑
 
摘要: 找出一个整数数组中子数组之和的最大值,例如:数组[1,-2,3,5,1],返回 8 (因为符合要求的子数组是[3,5]);数组[1,-2,3,-8,5,1],返回 6 (因为符合要求的子数组是[5,1]);数组[1,-2,3,-2,5,1],返回 7 (因为符合要求的子数组是[3,-2,5,1])。... 阅读全文
posted @ 2015-04-24 14:47 残阳遗落 阅读(157) 评论(0) 推荐(0) 编辑
 
摘要: 全部用命令行工具和Notepad编辑器,不用VisualStudio等集成编辑环境,创建一个命令行程序:“Hello World”public class Hello{ public static void main(String[] args){ System.out.printl... 阅读全文
posted @ 2015-04-24 14:45 残阳遗落 阅读(109) 评论(0) 推荐(0) 编辑