上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 61 下一页
摘要: 1、向QTextEdit中当前光标位置添加一行字符串message ui.messageTextEdit->textCursor().insertText(message+"\n"); 2、向QTextEdit中末尾追加一行字符串message QString content = ui.conten 阅读全文
posted @ 2019-05-21 18:03 MoonXu 阅读(633) 评论(0) 推荐(0)
摘要: 1. void udp_server::on_lineEdit_textEdited() { ui->pushButton->setEnabled(ui->lineEdit->hasAcceptableInput()); }2. 撤销ctrl+z3.信号槽函数定义 signals: void rea 阅读全文
posted @ 2019-05-21 15:06 MoonXu 阅读(224) 评论(0) 推荐(0)
摘要: 在命令模式下运行命令 :%s/^M//g 回车注意:里面的^M 必须是同时按 Ctrl+V+M ,表示回车。不是直接输入 ^M,也不是粘帖复制。命令完成后,用:x 保存退出后,再次用vi打开就全部被替换掉了。 阅读全文
posted @ 2019-05-21 09:19 MoonXu 阅读(838) 评论(0) 推荐(0)
摘要: •1st parameter: EBX • 2nd parameter: ECX • 3rd parameter: EDX • 4th parameter: ESI • 5th parameter: EDI 阅读全文
posted @ 2019-05-20 17:39 MoonXu 阅读(232) 评论(0) 推荐(0)
摘要: .datax: .long 1 .long 5 .long 8 .long 13sum: .long 0 .text.global _start_start: movl $4, %eax movl $0, %ebx movl $x,%ecxtop: addl (%ecx), %ebx addl $4 阅读全文
posted @ 2019-05-20 17:19 MoonXu 阅读(1116) 评论(0) 推荐(0)
摘要: int main(){ char buf[20] = {104,101,108,108,111,0}; printf("buf:%s\n",buf); return 0;} 打印结果buf:hello 阅读全文
posted @ 2019-05-18 15:51 MoonXu 阅读(515) 评论(0) 推荐(0)
摘要: time(2) #include <time.h> time_t time(time_t *timep);//获取当前时间距离1970-01-01 00:00:00 经历的秒数 p = struct tm *localtime(const time_t *timep);//根据上边timep的值计算 阅读全文
posted @ 2019-05-17 15:36 MoonXu 阅读(2740) 评论(0) 推荐(0)
摘要: MPEG(Moving Picture Experts Group,动态图像专家组) 阅读全文
posted @ 2019-05-15 17:18 MoonXu 阅读(316) 评论(0) 推荐(0)
摘要: bvi可以以16进制打开可执行文件 阅读全文
posted @ 2019-05-13 16:31 MoonXu 阅读(97) 评论(0) 推荐(0)
摘要: do{}while(0);里面有continue,退出的只是do{}while(0); 阅读全文
posted @ 2019-05-10 22:03 MoonXu 阅读(501) 评论(0) 推荐(0)
上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 61 下一页