码迷,mamicode.com
首页 >  
搜索关键字:my    ( 14389个结果
文件处理
#include "my_file.h" //将文件内容拷贝到指定文件 int mycopy(const char *filename) {  ifstream infile(filename, ios::binary);  ofstream outfile("TRACE.txt", ios::binary);    if (!infile.is_open() || !outfile...
分类:其他好文   时间:2014-06-28 08:46:56    阅读次数:199
FATAL ERROR: Could not find ./bin/my_print_defaults
我勒个去,上午刚搞好MySQL的编译安装,玛德一重启计算机然后重启服务又报错:[root@localhostmysql-5.5.13]#/usr/local/mysql/scripts/mysql_install_db--user=mysqlFATALERROR:Couldnotfind./bin/my_print_defaultsIfyoucompiledfromsource,youneedtorun‘makeinstall‘tocopyt..
分类:其他好文   时间:2014-06-28 06:21:53    阅读次数:313
mysql5.5 主从
yum-yinstallgccgcc-c++ncurses-devel tarxvfcmake-2.8.4.gz cdmake-2.8.8 ./bootstrap gmake&&gmakeinstall cd.. tarzxvfmysql-5.5.25.tar.gz cdmysql-5.5.25 mkdir-p/usr/local/mysql/data cmake-DCMAKE_INSTALL_PREFIX=/usr/local/mysql-DMYSQL_UNIX_ADDR=/tmp/my..
分类:数据库   时间:2014-06-28 00:06:19    阅读次数:354
POJ1026 Cipher 【polya】
This question is not so difficult. First,my thoughts were we should use a lot of code to find out the loop block,but there is no need to do that . you just need to get every new position of char in ...
分类:其他好文   时间:2014-06-27 23:39:44    阅读次数:293
华为历年试题(字符串1)
1、字符串问题问题描述:把一个字符串中的除大写字母、小写字母和数字字符之外的其他字符都去掉,输出新字符串。要求实现函数:void my_string(char* input, char* output)【输入】 char* input,输入的字符串【输出】 char* output, 输出的字符串【...
分类:其他好文   时间:2014-06-27 15:52:30    阅读次数:208
mysql 5.5 编码设置为utf8 转载自:http://outofcontrol.ca/thoughts/comments/change-mysql-5.5-default-character-set-to-utf8
Change MySQL 5.5 default character-set to UTF8连接里是linux下的在window下my.iniAdd under [client]the following code snippet:loose-default-character-set = utf8...
分类:数据库   时间:2014-06-27 15:09:07    阅读次数:222
MongoDB基础知识
一、基本操作1)创建> post={"title":"MyBlog Post", "content":"Here's my blog post.", "date":new Date()}> db.blog.insert(post)2)查看> db.blog.find()或者 db.blog.find...
分类:数据库   时间:2014-06-27 11:22:03    阅读次数:254
理解CSS Clip属性及用法
应用Clip属性实现的一个简单效果图:样式写法:.my-element{position:absolute;clip:rect(10px350px170px0);/*IE4toIE7*/clip:rect(10px,350px,170px,0);/*IE8+&otherbrowsers*/}属性解析...
分类:Web程序   时间:2014-06-27 10:56:22    阅读次数:763
设置MySQL root的密码
在my.ini的[mysqld]字段加入:skip-grant-tables重启mysql服务,这时的mysql不需要密码即可登录数据库然后进入mysql123mysql>use mysql;mysql>update user set password=password('新密码') WHERE U...
分类:数据库   时间:2014-06-26 15:56:38    阅读次数:224
sql SELECT时的with(nolock)选项说明
I used to see my senior developers use WITH (NOLOCK) when querying in SQL Server and wonder why they use. Now i explored it and found thatit's useful ...
分类:数据库   时间:2014-06-26 12:51:12    阅读次数:265
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!