摘要: range用法 class range(stop) # start 默认为0, step默认为1 class range(start, stop [, step] )2 1class range(stop) # start 默认为0, step默认为12class range(start, stop [, step] ) step > 0时,一个 range 的元素值为... 阅读全文
posted @ 2017-11-22 17:57 Fay-1987 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-22 13:35 Fay-1987 阅读(141) 评论(0) 推荐(0) 编辑
摘要: gdb secudbreak functionr -----> (running) 启动n -----> (next) F10c -----> (continue) F5s -----> (step) F11 p i -----> (print i) 动态数组的取值: p ... 阅读全文
posted @ 2017-11-22 11:39 Fay-1987 阅读(119) 评论(0) 推荐(0) 编辑
摘要: [cpp] QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"... 阅读全文
posted @ 2017-11-22 11:36 Fay-1987 阅读(1504) 评论(0) 推荐(0) 编辑
摘要: fdisk -l........./dev/sdb1 .....mount /dev/sdb1 /mnt/usb退出前调用命令:umount /mnt/usb 阅读全文
posted @ 2017-11-22 11:18 Fay-1987 阅读(354) 评论(0) 推荐(0) 编辑