首页 > 2014年11月21日 > 全部分享
用C#开发的双色球走势图(原创)值得园友拥有
首先声明,个人纯粹无聊之作,不作商业用途。 我相信每个人都拥有一个梦想那就是有朝一日能中500W,这个也一直是我的梦想,并默默每一期双色球或多或少要贡献自己一点点力量,本人并不属于那种铁杆的彩票迷,每次都是纯粹娱乐而已,因为深知这个中奖的概率太低了,每一次买也是随机而已,运气好的话还能中个...
分类:Windows开发   时间:2014-11-21 01:20:16    收藏:0  评论:0  赞:0  阅读:480
[译]Stairway to Integration Services Level 16 – Flexible Source Locations (多文件导入)
介绍在本文中我们将利用SSIS参数,变量 以及 Foreach Loop Container 从多个源动态导入数据.开始前我们先下载一些数据.WeatherData_Dec08_Apr09.zip 解压以后我们看到有三个目录数据Figure 1每个月年目录包含一个子目录 TH.每个TH 目录包含文件...
分类:其他   时间:2014-11-21 01:20:06    收藏:0  评论:0  赞:0  阅读:288
改进基于Boost.Asio的聊天服务
Boost.Asio是个非常易用的C++异步网络库,官网上有很详细文档和示例代码。其中一个示例是聊天服务,分成chat_message、chat_client、chat_server这么三个部分。chat_server的启动代码如下。 1 if (argc [ ...]\n"; 4 ...
分类:其他   时间:2014-11-21 01:19:56    收藏:0  评论:0  赞:0  阅读:310
Hibernate4.x之Session
Hibernate Session概述 Session接口是Hibernate向应用程序提供的操纵数据库的最主要的接口,它提供了基本的保存、更新、删除和加载Java对象的方法。 Session具有一个缓存,位于缓存中的对象称为持久化对象,它和数据库中的相关记录对应。Session能够在某些时间点.....
分类:Web开发   时间:2014-11-21 01:19:46    收藏:0  评论:0  赞:0  阅读:322
java.sql.SQLException: Access denied for user ''@'localhost' (using password: No)
出错原因:连接数据库是忘记配username 和 password 了刚在学hiberbate4,把持久层从纯粹的jdbc改为hiberbate 出现的错误。(原来的是直接读取properties)解决方法就是在hibernate.cfg.xml加上最后两行(当然其他的也必不可少)1 jdbc:my...
分类:数据库技术   时间:2014-11-21 01:19:16    收藏:0  评论:0  赞:0  阅读:296
Android基础--XML解析(XmlPullParser )
1.要解析的xml文件如下 深圳 18° 30 上海 13° 25 北京 6° 800 2.每个City节点对应的JavaBea...
分类:移动平台   时间:2014-11-21 01:19:06    收藏:0  评论:0  赞:0  阅读:331
cygwin install git
Installation with CygwinIf you're comfortable withCygwin, then use it to install git, ssh, wget and python. Install pip, and use pip to install git-re...
分类:Windows开发   时间:2014-11-21 01:18:56    收藏:0  评论:0  赞:0  阅读:312
Android基础--XML序列化(XmlSerializer)
1.封装节点的JavaBeanpublic class City { private String name; private String temp; private String pm25; public String getName() { return ...
分类:移动平台   时间:2014-11-21 01:18:46    收藏:0  评论:0  赞:0  阅读:426
inline函数
在C&C++中一、inline关键字用来定义一个类的内联函数,引入它的主要原因是用它替代C中表达式形式的宏定义。表达式形式的宏定义一例:#define ExpressionName(Var1,Var2) ((Var1)+(Var2))*((Var1)-(Var2))取代这种形式的原因如下:1. C中...
分类:其他   时间:2014-11-21 01:18:36    收藏:0  评论:0  赞:0  阅读:211
poj 1379 Run Away 模拟退火 难度:1
Run AwayTime Limit:3000MSMemory Limit:65536KTotal Submissions:6482Accepted:1993DescriptionOne of the traps we will encounter in the Pyramid is located...
分类:其他   时间:2014-11-21 01:18:06    收藏:0  评论:0  赞:0  阅读:337
ios 函数取名字乱弹......
其实不怎么喜欢在这里言论特技术的东东,google一下,会有一大堆。嗯,博客记录的主要是自己开发过程中遇到的趣事。。。今天偶然听到两个同事在讨论,函数取名字能不能用 setXXX这样子取名。个人感觉:挺有意思的一个话题,实际上能,但是要注意一下,因为ios在添加属性 的时候会自己默认的认知 setX...
分类:移动平台   时间:2014-11-21 01:17:56    收藏:0  评论:0  赞:0  阅读:370
FORALL与BULK COLLECT是实现批量SQL
2014年11月20日,星期四 更新1. 示例1declare/* type card_rec_type is record ( dn_no channel.dn_no%type, channel_id channel.channel_id%type); type nested_card_type ...
分类:数据库技术   时间:2014-11-21 01:17:46    收藏:0  评论:0  赞:0  阅读:469
杭电 2035 人见人爱A^B【快速幂取模】
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2035解题思路:这一题数据不大,可以用同余来做,也可以用快速幂来做反思:定义成#includeint quick_mod(int a,int b,int m){ int ans=1; w...
分类:其他   时间:2014-11-21 01:17:36    收藏:0  评论:0  赞:0  阅读:324
poj1111 Image Perimeters 广搜
题目大意: 输入一个矩阵,再输入其中一个“X”的位置(从1开始)。从该位置向八个方向扩展,如果是“X”就可以并在一起。问最后得到的模块的周长是多少。解题思路: 按照广搜的思路来做。用一个二维的数组标记每一个点,-1代表着该点不能被搜索了(可能原本就是“.”,也可以该点已经出队列了);0代表着该点.....
分类:其他   时间:2014-11-21 01:17:27    收藏:0  评论:0  赞:0  阅读:299
Subsets 集合子集 回溯
Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not co...
分类:其他   时间:2014-11-21 01:17:16    收藏:0  评论:0  赞:0  阅读:216
Leetcode Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?这道题用来判断链表中是否有循环,最开始我想的是遍历链表,同时用一个list保存遍历过...
分类:其他   时间:2014-11-21 01:16:56    收藏:0  评论:0  赞:0  阅读:157
leetcode[86] Scramble String
将一个单词按照这种方式分:Below is one possible representation ofs1="great": great / \ gr eat / \ / \g r e at / \ a tTo s...
分类:其他   时间:2014-11-21 01:16:46    收藏:0  评论:0  赞:0  阅读:316
Leetcode-Permutations
Given a collection of numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3,1...
分类:其他   时间:2014-11-21 01:16:36    收藏:0  评论:0  赞:0  阅读:324
关于子线程使用Toast报错Can't create handler inside thread that has not called Looper.prepare()的解决办法
形同如下代码,在Thread中调用Toast显示错误信息:new Thread(new Runnable(){ @Override public void run() { try{ weather...
分类:编程语言   时间:2014-11-21 01:16:16    收藏:0  评论:0  赞:0  阅读:1070
onConfigurationChanged的使用
在Android中,某些事件触发,Activity会重新调用onCreate方法对Activity重新初始化,这样不仅效率低,而且会造成数据丢失,通过重写onConfigurationChanged方法,并在AndroidManifest.xml中对Activity声明configChanges,这...
分类:其他   时间:2014-11-21 01:16:06    收藏:0  评论:0  赞:0  阅读:428
1854条   上一页 1 ... 88 89 90 91 92 93 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!