自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 drupal 7 installation

drupal 7 installationStep 1: Download and extract DrupalDownloading Download Drupal from the command line wget http://ftp.drupal.org/files/projects/drupal-x.x.tar.gzNote: Replace http:/

2017-02-25 15:23:30 427

原创 debian 8 gnome3 下 中文输入法 安装fcitx

早就应该参考https://wiki.debian.org/gnome-chinese-input#using_ibusapt-get install fcitx fcitx-googlepinyin会不会因为libpinyin没装Use in GNOMETo make fcitx work inside GNOME enviro

2016-07-22 11:18:58 7757

原创 deban8 linux 下 virtual box black arch linux 连不了网

选择 nat 模式用 dhcpcd 获取地址

2016-07-12 13:32:08 593

原创 apt-get update no space left

debian GNU/Linux 8 (jessie) 64 bit插入awus036无线网卡(该网卡需要rt2800usb驱动),搜不了wifi。。说明驱动出错,上网一看原来是缺少rt2800驱动的firmware,然后后台一直报错,不断产生错误信息写到log中,然后var/log 爆了, device no space leftsol: 开机后,在grub中选advance模式然后

2016-03-18 15:17:54 456

原创 初学循环队列

问题:队列为空时会怎样:front(队头)在rear(队尾)前面(在此处,“前面”指 右边, 我当初还以为前面就是左边,一直搞混)循环队列中怎样插入元素(append)?往队尾(rear)插入元素,即让rear+1,如果rear+1==maxqueue的话,rear就变到0(因为循环),然后再给rear指向的地方赋值。。。图3.4中,每插入一个元素,rear就向右移一格,直到到

2016-01-11 13:30:21 392

原创 npm 发布自己的包操作

npm initnpm addusernpm publishnpm updatenpm unpublish

2015-12-28 23:39:07 398

原创 web2.0 用express框架写一个signin页面(挖坑待填)

localhost访问错误端口。。。3000端监听访问了8000访问/regist竟然没有停在断点上登陆密码错误传错误传user参数登陆router忘记加上else导致无限等待再次访问了8000应该改this.form.passwordConfirm.status而不是改this.passwordConfirm.status要是先填确认密码再点开的话,就会显示密码错误,因为

2015-12-26 00:18:28 604

原创 strchr 的初学者应用

strchr ()返回的是 char*#include#include#includeusing namespace std;int main() { char s[10] ; cin >> s; char* idx = strchr(s, 'd'); printf("%d %p %p %p", idx-s, idx-s , s, idx); return 0;} 

2015-04-21 19:18:20 264

原创 c++ template 易错语言细节

易混概念:函数模板:就是template...模板函数:通过 函数模板 实例化出来的 函数。(1)在定义模板时,不允许template语句与函数模板之间有任何其他语句。下面的模板定义是错误的: template int a;//错误,不允许在此位置有任何语句 T Max(T x,Ty){ … }现象:(2)不要把这里的class与类的声明关键字

2015-04-21 17:18:07 515

原创 程设课上题 Fraction [ For HW ]

Description:In this assignment you are required to complete a class for fractions.It stores the numerator and the denominator, with the lowest terms.It is able to communicate with iostreams by

2015-04-12 10:46:40 531

原创 zoj 1745 Are We There Yet?

#include#include#includeusing namespace std;string status(int*, int Pos, int i);const int end = 5280; // no more input if the first input is endconst int size = 21;int main() { int cookiePo

2015-04-11 11:14:34 233

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除