Programming in machine language can be very tedious and error prone. Instead of usingones and zeros, an assembly language has an advantage, because it...
分类:
其他好文 时间:
2014-07-22 22:57:16
阅读次数:
210
_variant_t vUsername,vID,vname; //变量声明_RecordsetPtrm_pRecordset;//记录集CString strid;_ConnectionPtr connection;m_pRecordset.CreateInstance(__uuidof( Rec...
分类:
其他好文 时间:
2014-07-22 22:57:14
阅读次数:
271
1. When you have used OpenOffice edited one of reports,it has stored the report's banary data is database,which caused the problem when you refresh th...
分类:
其他好文 时间:
2014-07-22 22:56:35
阅读次数:
216
Description
Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing ea...
分类:
其他好文 时间:
2014-07-18 23:10:11
阅读次数:
304
题目链接:点击打开链接
题意:
给定 a个箱子 b个球 常数n (球和箱子都是各不相同的,不会出现有一样的物品)
设 way = 把b个球放到a个箱子中的方法数, 若way >= n则游戏结束
有2个人玩游戏。
若当前轮到 X时
1、 X选择增加一个箱子或增加一个球
2、若增加完后方法数>=n 则X失败
若先手必胜,则输出 Masha ,若先手必败则输出 Stas ,若为平局则输出...
分类:
其他好文 时间:
2014-07-18 22:31:42
阅读次数:
282
本篇主要说一下如何利用命令行来正确配置MySql。
首先打开终端:
1.为mysql起一个别名
alias mysql=/usr/local/mysql/bin/mysql
2.创建mysql的管理员 admin(后期登陆用到)
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
3.设置root账号密码
mysqladmin -u ...
分类:
移动开发 时间:
2014-07-18 22:10:48
阅读次数:
199
题目如下:
The Sultan's Successors
The Sultan of Nubia has no children, so she has decided that thecountry will be split into up to
k separate parts on her death andeach part wi...
分类:
其他好文 时间:
2014-07-18 22:00:59
阅读次数:
310
/*
A - ¼òµ¥dp ÀýÌâ
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
A military contractor for the Department of Defense has just completed a seri...
分类:
其他好文 时间:
2014-07-18 21:37:41
阅读次数:
222
当最大连接数比较小时,可能会出现“1040 too many connection”错误。可以通过修改配置文件来修改最大连接数,但我连配置文件在哪都不知道,应该怎么办呢?首先需要重启mysql服务,执行命令:service mysql restart也有可能是:service mysqld restart登录mysql:mysql -uroot -p输入密码,回车;登录成功后执行以下语句查询当前的...
分类:
数据库 时间:
2014-07-18 21:23:05
阅读次数:
248
环境:Ubuntu12.10_x64问题:用tsql访问SQL Server>> tsql -H 192.168.88.133 -p 1433 U saError 20002 (severity 9):Adaptive Server connection failed解决:查看TDS version...
分类:
其他好文 时间:
2014-07-17 00:13:08
阅读次数:
845