摘要: 阅读并转自:http://blog.csdn.net/v_JULY_v/article/details/64194662010年中兴面试题编程求解:输入两个整数 n 和 m,从数列1,2,3.......n 中 随意取几个数,使其和等于 m ,要求将其中所有的可能组合列出来。 // 21题递归方法 //copyright@ July && yansha //July、yansha,updated。 #include #include using namespace std; listlist1; void ... 阅读全文
posted @ 2013-11-02 22:26 yutoulck 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 阅读:https://developer.android.com/training/basics/intents/index.htmlImplicit intents指的是你没有明确指明哪个程序来启动,只是告诉了系统你的Action或者其他数据就行了,一般还带有Data。Uri number = Uri.parse("tel:5551234");Intent callIntent = new Intent(Intent.ACTION_DIAL, number);URI Data 的代码写法.// Map point based on addressUri location 阅读全文
posted @ 2013-11-02 11:43 yutoulck 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 阅读:https://developer.android.com/training/basics/data-storage/index.htmlSharedPreferences适用于存储少量的键值对数据,由框架管理,可以只供本程序使用也可共享。Note: The SharedPreferences APIs are only for reading and writing key-value pairs and you should not confuse them with the Preference APIs, which help you build a user interface 阅读全文
posted @ 2013-11-02 00:22 yutoulck 阅读(323) 评论(0) 推荐(0) 编辑