上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页

2012年12月6日

c++ 重载的操作符

摘要: 可重载的 输出操作符<< 的重载 为了与 IO 标准库一致,操作符应接受 ostream& 作为第一个形参,对类类型 const 对象的引用作为第二个形参,并返回对ostream 形参的引用。 重载输出操作符一般的简单定义如下: // general skeleton of the overloaded output operator ostream& operator ... 阅读全文

posted @ 2012-12-06 15:01 GIS-MAN 阅读(296) 评论(0) 推荐(0) 编辑

c++ 高级库

摘要: http://baike.baidu.com/view/2622589.htm qwt QWT[1],全称是Qt Widgets for Technical Applications,是一个基于LGPL版权协议的开源项目, 可生成各种统计图。它为具有技术专业背景的程序提供GUI组件和一组实用类,其目标是以基于2D方式的窗体部件来显示数据, 数据源以数值,数组或一组浮点数等方式提供, 输出方式可... 阅读全文

posted @ 2012-12-06 14:08 GIS-MAN 阅读(295) 评论(0) 推荐(0) 编辑

2012年12月5日

Virtual Functions in C ++ 虚函数

摘要: 先看看虚函数定义的:A virtual function is so named because it may, be used before it is defined // 是函数的调用在定义之前,不是函数声明late binding ordynamic binding(动态绑定)When you make a function virtual , you are telling the compiler “I do not knowhow this function is implemented. Wait until it is used in a program, and then 阅读全文

posted @ 2012-12-05 14:29 GIS-MAN 阅读(115) 评论(0) 推荐(0) 编辑

程序员有哪些渠道找工作

摘要: 虽然自己工作的年限不长,但换工作的想法经常有,现在写个日志来记录一下自己为找工作曾经想到的招数。1 去全国性的招聘网站 ,这个如智联 ,前程无忧,中华英才 // 第2份工作2 去地方性的招牌网站,3 周六周末去各种专场招牌会4 在qq群 ,搜索程序员求职招聘群,上海IT 招聘之类的5 通过自己的各种的技术群,直接在群里问 // 第一份工作就是这么找的,虽然第一份工作期间自己受了点伤6 去各种专业技术论坛比如自己搞c#,net,移动开发 , 就去csdn,cnblogs,开源中国,银光中国,http://www.wpxap.com/,http://www.devdiv.com/, iteye。5 阅读全文

posted @ 2012-12-05 12:02 GIS-MAN 阅读(3610) 评论(2) 推荐(1) 编辑

2012年12月4日

qt 基础知识2

摘要: screenshotLabel = new QLabel; screenshotLabel->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);//使用QSizePolicy::Expanding QLabel就会随着窗体的变化而变化 screenshotLabel->setAlignment(Qt::AlignCenter); // 对齐 screenshotLabel->setMinimumSize(240, 160); // 最小让qtextedit 不能输入,只读m_Logw=newQText.. 阅读全文

posted @ 2012-12-04 11:21 GIS-MAN 阅读(268) 评论(0) 推荐(0) 编辑

QMainWindows学习笔记

摘要: textEdit = new QPlainTextEdit; //富文本显示器 setCentralWidget(textEdit);//关闭窗体会触发void MainWindow::closeEvent(QCloseEvent *event){ }QMenu 可以添加qactionvoid MainWindow::createMenus(){ fileMenu = menuBar()->addMenu(tr("&File")); fileMenu->addAction(newAct); fileMenu->addAction(openAct); 阅读全文

posted @ 2012-12-04 11:09 GIS-MAN 阅读(481) 评论(0) 推荐(0) 编辑

2d graphics

摘要: QPainter can drawgeometric shapes (points, lines, rectangles, ellipses, arcs, chords, pie segments,polygons, and Bézier curves), as well as pixmaps, images, and text. Furthermore,QPainter supports advanced features such as antialiasing (for text andshape edges), alpha blending, gradient filling 阅读全文

posted @ 2012-12-04 10:47 GIS-MAN 阅读(224) 评论(0) 推荐(0) 编辑

2012年11月30日

wpf 新特性 1

摘要: classBook{publicstringName{get;set;}publicstringAuthor{get;set;}publicdecimalPrice{get;set;}publicintYearPublished{get;set;}}平平淡淡才是真(1020684770)9:02:02<ButtonFontSize="20"><local:BookName="WindowsInternals"Author="MarkRussinovich"Price="40"YearPublish 阅读全文

posted @ 2012-11-30 09:19 GIS-MAN 阅读(186) 评论(0) 推荐(0) 编辑

2012年11月27日

win32 保存数据到剪切板

摘要: char cD[] ="http://rfb."; if(OpenClipboard(NULL)) { HGLOBAL hmem=GlobalAlloc(GHND,20); char *pmem=(char*)GlobalLock(hmem); EmptyClipboard(); memcpy(pmem,cD,20); SetClipboardData(CF_TEXT,hmem); CloseClipboard(); GlobalFree(hmem); }wchar 转成charconst WCHAR* guidchar test[6]... 阅读全文

posted @ 2012-11-27 17:25 GIS-MAN 阅读(244) 评论(0) 推荐(0) 编辑

broadcastsender 例字学习qt 广播

摘要: 广播发送者1udpSocket = new QUdpSocket(this);2 QByteArray datagram = "Broadcast message " + QByteArray::number(messageNo); udpSocket->writeDatagram(datagram.data(), datagram.size(),QHostAddress::Broadcast, 45454);//! [1] ++messageNo;广播接收者1udpSocket = new QUdpSocket(this); udpSocket->bind(4 阅读全文

posted @ 2012-11-27 17:23 GIS-MAN 阅读(995) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页

导航