上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 65 下一页
摘要: 1.在对话框窗体构造函数加入 SystemDialog::SystemDialog(QWidget *parent) : QDialog(parent), ui(new Ui::SystemDialog) { ui->setupUi(this); Qt::WindowFlags flags=Qt:: 阅读全文
posted @ 2015-08-27 14:05 ike_li 阅读(438) 评论(0) 推荐(0)
摘要: #include "stdafx.h" #include #include #include #include #include using namespace std; LPWSTR StringToLPWSTR(string s) { const char * szString = s.c_str(); int dwLen = strlen(szString) +... 阅读全文
posted @ 2015-08-24 15:22 ike_li 阅读(1199) 评论(0) 推荐(0)
摘要: #1配置minicom sudo minicom -s sudo minicom -w #1.配置网络,嵌入机的ip地址 ifconfig eth0 10.5.52.202 #2.挂载文件,把虚拟主机文件挂载到嵌入机器上,IP地址是虚拟机的 mount -t nfs -o nolock 10.5.5 阅读全文
posted @ 2015-08-10 10:34 ike_li 阅读(163) 评论(0) 推荐(0)
摘要: 一、继承QThread 使用方法1.创建个继承QThread的类。#ifndef MYTHREAD_H#define MYTHREAD_H#include #include#includeclass MyThread : public QThread{ Q_OBJECTpublic: ex... 阅读全文
posted @ 2015-08-07 09:37 ike_li 阅读(6223) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-07-29 10:48 ike_li 阅读(4) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-07-19 15:57 ike_li 阅读(2) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-07-17 15:29 ike_li 阅读(756) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2015-07-16 14:08 ike_li 阅读(11) 评论(0) 推荐(0)
摘要: #include int i = 0;while (i < 20){ i++; WriteLog("d:\\log.txt","aaaa中国人民");}/utf-8格式//WriteLog("d:\\log.txt", "aaaa中国人民");void WriteLog(char* file_pa... 阅读全文
posted @ 2015-06-03 14:39 ike_li 阅读(3316) 评论(0) 推荐(0)
摘要: 此方法最实用的调用exe. #include <ShellAPI.h> string file_path = s_run_dir+"\\ConsoleApplication1.exe"; if (!myfile.IsFileExist(file_path)) { return 1; } LPCWST 阅读全文
posted @ 2015-06-02 10:29 ike_li 阅读(3762) 评论(0) 推荐(0)
上一页 1 ··· 50 51 52 53 54 55 56 57 58 ··· 65 下一页