06 2019 档案

摘要:void ViewerBase::frame(double simulationTime) { if (_done) return; // OSG_NOTICE<<std::endl<<"CompositeViewer::frame()"<<std::endl<<std::endl; if (_fi 阅读全文
posted @ 2019-06-30 21:23 西北逍遥 阅读(1443) 评论(0) 推荐(0) 编辑
摘要:setUpViewOnSingleScreen 和 setUpViewAcrossAllScreens 函数的实现流程与上一日介绍的 setUpViewInWindow 区别不是很大。值得注意的是,setUpViewAcrossAllScreens 函数中调用 GraphicsContext::ge 阅读全文
posted @ 2019-06-30 18:00 西北逍遥 阅读(608) 评论(0) 推荐(0) 编辑
摘要:当前位置:osgViewer/View.cpp 第 575 行,osgViewer::View::setUpViewInWindow()这个函数有五个传入参数:窗口左上角坐标 x,y,宽度 width,高度 height,以及屏幕数 screenNum。它的作用顾名思义是根据给定的窗口参数来创建一个 阅读全文
posted @ 2019-06-30 17:37 西北逍遥 阅读(1359) 评论(0) 推荐(0) 编辑
摘要:开始:osgViewer/ViewerBase.cpp 389行,startThreading()函数,启动线程 void ViewerBase::startThreading() { if (_threadsRunning) return; OSG_INFO<<"Viewer::startThre 阅读全文
posted @ 2019-06-29 21:37 西北逍遥 阅读(633) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i... 阅读全文
posted @ 2019-06-29 21:35 西北逍遥 阅读(1120) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i... 阅读全文
posted @ 2019-06-29 20:58 西北逍遥 阅读(1428) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i... 阅读全文
posted @ 2019-06-28 21:55 西北逍遥 阅读(1114) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #i... 阅读全文
posted @ 2019-06-28 20:50 西北逍遥 阅读(926) 评论(0) 推荐(0) 编辑
摘要:int main() { osg::ref_ptr viewer1 = new osgViewer::Viewer; osg::ref_ptr pageLdc1 = new osg::PagedLOD; pageLdc1->setFileName(0, "D:\\参考手册\\BIM\\osg\\library.OSGB"); pageLdc1-... 阅读全文
posted @ 2019-06-28 16:27 西北逍遥 阅读(1298) 评论(0) 推荐(0) 编辑
摘要:[0]osg::Group [1]osg::MatrixTransform [1] osg::MatrixTransform [1]osg::MatrixTransform [2] osg::Geode [3]osg::Geometry [3]osg::Geometry [3] osg::Geome 阅读全文
posted @ 2019-06-27 20:41 西北逍遥 阅读(393) 评论(0) 推荐(0) 编辑
摘要:[1]osg::Group [2]osg::PositionAttitudeTransform [2]osg::MatrixTransform [3]osg::Geode [2]osg::MatrixTransform [2]osg::MatrixTransform [2]osg::MatrixTr 阅读全文
posted @ 2019-06-27 20:36 西北逍遥 阅读(599) 评论(0) 推荐(0) 编辑
摘要:x:-89.4588 y:-12.1245 z:-11.7807x:-89.4588 y:-6.44823 z:-11.7807x:-89.2164 y:-9.07239 z:-11.811x:-89.4588 y:-12.1245 z:-11.7807x:-89.2164 y:-9.07239 z 阅读全文
posted @ 2019-06-27 19:49 西北逍遥 阅读(441) 评论(0) 推荐(0) 编辑
摘要:正在从以下位置加载符号:Microsoft符号服务器 尝试取消禁用后续符号加载 进入VS 工具 选项 调试 符号,看右边有个“Microsoft符号服务器”,将前面的勾去掉,(可能还有删除下面的那个缓存)。然后就不会在调试时加载了! Debug卡顿,可以尝试删除 C:\Users\<username 阅读全文
posted @ 2019-06-27 19:01 西北逍遥 阅读(10963) 评论(1) 推荐(2) 编辑
摘要:osg自带窗口去掉边框 阅读全文
posted @ 2019-06-27 09:27 西北逍遥 阅读(1931) 评论(0) 推荐(0) 编辑
摘要:如果你安装的是Autodesk Inventor Professional 2018,那么序列号为:666-69696969,产品密钥为:797J1, 如果你安装的是Autodesk Inventor 2018,那么序列号为:666-69696969,产品密钥为:208J1,输入完后点击下一步; 激 阅读全文
posted @ 2019-06-26 20:59 西北逍遥 阅读(3588) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in... 阅读全文
posted @ 2019-06-26 16:53 西北逍遥 阅读(2295) 评论(0) 推荐(0) 编辑
摘要:Civil 3D 2018百度云地址 https://pan.baidu.com/s/1edeVhG Civil 3D 2019注册机百度云地址 链接: https://pan.baidu.com/s/1KR6R43TXHzQ8tvmNFHWyrg 提取码: gg9w 输入序列号:666-69696 阅读全文
posted @ 2019-06-25 20:50 西北逍遥 阅读(1715) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in... 阅读全文
posted @ 2019-06-25 20:20 西北逍遥 阅读(706) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32 #include #endif // _WIN32 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #in... 阅读全文
posted @ 2019-06-25 20:13 西北逍遥 阅读(543) 评论(0) 推荐(0) 编辑
摘要:#pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #... 阅读全文
posted @ 2019-06-25 20:00 西北逍遥 阅读(219) 评论(0) 推荐(0) 编辑
摘要:<osgGA/MatrixManipulator>:No such file or directory 修改为 #include <osgGA/CameraManipulator> osgGA::GUIEventHandler osgGA::CameraManipulator osgGA::Stan 阅读全文
posted @ 2019-06-24 20:26 西北逍遥 阅读(1119) 评论(0) 推荐(0) 编辑
摘要:VCNodeMatrix.h VCNodeMatrix.cpp 阅读全文
posted @ 2019-06-24 17:55 西北逍遥 阅读(1384) 评论(0) 推荐(0) 编辑
摘要:osg::ref_ptr OSG_Qt_::operateMatrix() { osg::ref_ptr group = new osg::Group; osg::ref_ptr node1 = osgDB::readNodeFile("D:\\参考手册\\BIM\\osg\\tanker.OSGB"); osg::ref_ptr node2 = osgDB::readN... 阅读全文
posted @ 2019-06-23 21:20 西北逍遥 阅读(557) 评论(0) 推荐(0) 编辑
摘要:osg::ref_ptr OSG_Qt_::operateMatrix() { osg::ref_ptr group = new osg::Group; osg::ref_ptr node = osgDB::readNodeFile("D:\\参考手册\\BIM\\osg\\tanker.OSGB"); //return node; group->addChild... 阅读全文
posted @ 2019-06-23 20:16 西北逍遥 阅读(1018) 评论(0) 推荐(0) 编辑
摘要:osg::ref_ptr OSG_Qt_::createSimple() { osg::ref_ptr geode = new osg::Geode; osg::ref_ptr geometry = new osg::Geometry; //申请顶点 osg::ref_ptr coords = new osg::Vec3Array; //申请颜色 ... 阅读全文
posted @ 2019-06-23 19:48 西北逍遥 阅读(362) 评论(0) 推荐(0) 编辑
摘要:01 北京 15:00 02 宣化 17:50 17:52 2分钟03 张家口南 18:11 18:17 6分钟04 大同 21:01 21:09 8分钟05 集宁南 22:45 22:51 6分钟06 呼和浩特东 23:53 23:59 6分钟07 包头 01:39 02:05 26分钟08 临河 阅读全文
posted @ 2019-06-23 19:42 西北逍遥 阅读(240) 评论(0) 推荐(0) 编辑
摘要:osg::ref_ptr OSG_Qt_::createBox() { osg::ref_ptr osg_geode = new osg::Geode; osg::ref_ptr osg_hints = new osg::TessellationHints; osg::ref_ptr osg_box = new osg::Box(osg::Vec3(0.0, 0.0, 0... 阅读全文
posted @ 2019-06-22 21:39 西北逍遥 阅读(303) 评论(0) 推荐(0) 编辑
摘要:osg::ref_ptr MyOSGLoadEarth::CreateNode() { osg::ref_ptr _root = new osg::Group; //定义并读取高程文件 //真实高程文件名称为:ASTGTM2_N34E110_dem.tif //属于特殊的tiff格式,GEOTiff //读取的时候使用osg的gdal插件进行读取,所以... 阅读全文
posted @ 2019-06-22 19:23 西北逍遥 阅读(450) 评论(0) 推荐(0) 编辑
摘要:void vc_widget::keyPressEvent(QKeyEvent *ev) { if (ev->key() == Qt::Key_Up) { qDebug() key() == Qt::Key_Down) { qDebug() key() == Qt::Key_Left) { qDebug() key() == Qt::Key_Right) ... 阅读全文
posted @ 2019-06-21 07:57 西北逍遥 阅读(6519) 评论(0) 推荐(0) 编辑
摘要:(flappbird) luo@luo-All-Series:~/MyFile/TensorflowProject/Mask_RCNN/mask_rcnn_20190518/Mask_RCNN/models/research$ (flappbird) luo@luo-All-Series:~/MyF 阅读全文
posted @ 2019-06-20 09:43 西北逍遥 阅读(643) 评论(0) 推荐(0) 编辑
摘要:img_data_box_1500 798.jpg /home/luo/TensorflowProject/labelImg/img_data_box_1500/798.jpg Unknown 160 117 3 0 阅读全文
posted @ 2019-06-19 08:56 西北逍遥 阅读(327) 评论(0) 推荐(0) 编辑
摘要:emit toLine(lineQStr);connect(vcthread, SIGNAL(toLine(QString)), this, SLOT(appendText(QString))); 阅读全文
posted @ 2019-06-18 21:43 西北逍遥 阅读(2202) 评论(0) 推荐(0) 编辑
摘要:/******************************************************************************** ** Form generated from reading UI file 'Qt_img.ui' ** ** Created by: Qt User Interface Compiler version 5.12.2 ** ** ... 阅读全文
posted @ 2019-06-18 08:08 西北逍遥 阅读(569) 评论(0) 推荐(0) 编辑
摘要:QPainter p(this); QPixmap pixmap; pixmap.load("E:\\参考文件\\image\\1.jpg"); //QPixmap->QImage QImage tempImage = pixmap.toImage(); p.drawImage(0,0,tempIm 阅读全文
posted @ 2019-06-17 20:54 西北逍遥 阅读(5758) 评论(0) 推荐(0) 编辑
摘要:std::string cstr;QString qstring; //QString str1 = " D:\\参考手册\\BIM\\osg\\build1.OSGB"; //从std::string 到QString qstring = QString(QString::fromLocal8Bi 阅读全文
posted @ 2019-06-17 16:19 西北逍遥 阅读(3908) 评论(0) 推荐(0) 编辑
摘要:下载地址:http://pan.baidu.com/download 如果没有安装alien,安装 luo@luo-ThinkPad-W540:~$sudo apt-get install alien Reading package lists... DoneBuilding dependency 阅读全文
posted @ 2019-06-16 20:47 西北逍遥 阅读(994) 评论(0) 推荐(0) 编辑
摘要:graphicswindowqt.h graphicswindowqt.cpp vcqtosgwidget.h vcqtosgwidget.cpp main.cpp 阅读全文
posted @ 2019-06-16 20:11 西北逍遥 阅读(1797) 评论(0) 推荐(0) 编辑
摘要:osgViewer::Viewer* _viewer = nullptr; _viewer = new osgViewer::Viewer;osg::ref_ptr<osg::Group> root = new osg::Group;//注意:这两句话的先后顺序 先添加模型在添加相机//root-> 阅读全文
posted @ 2019-06-15 20:27 西北逍遥 阅读(1303) 评论(0) 推荐(0) 编辑
摘要:#ifdef _WIN32#include <Windows.h>#endif // _WIN32 #include <osgViewer/Viewer>#include <osgDB/ReadFile>#include <osgGA/GUIEventAdapter>#include <osgVie 阅读全文
posted @ 2019-06-14 20:41 西北逍遥 阅读(218) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector> using namespace std; int main(){ vector<int> vec1; vector<int>::iterator vec_iter1; for (int 阅读全文
posted @ 2019-06-13 10:58 西北逍遥 阅读(411) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:32 西北逍遥 阅读(261) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:29 西北逍遥 阅读(436) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:26 西北逍遥 阅读(433) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_iter1; for (int k=0 阅读全文
posted @ 2019-06-12 21:20 西北逍遥 阅读(373) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque>#include <vector>#include <functional>#include <iterator> using namespace std; int main(){ dequ 阅读全文
posted @ 2019-06-12 21:15 西北逍遥 阅读(201) 评论(0) 推荐(0) 编辑
摘要:vector<int>::iterator iter1 = partial_sort_copy(deq1.begin(), deq1.end(), vec1.begin(), vec1.end()); 阅读全文
posted @ 2019-06-12 21:13 西北逍遥 阅读(136) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <deque>#include <algorithm>#include <vector>#include <functional> using namespace std; int main(){ deque<int> deq1; deque< 阅读全文
posted @ 2019-06-12 21:10 西北逍遥 阅读(205) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <deque>#include <algorithm>#include <vector> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_it 阅读全文
posted @ 2019-06-12 21:08 西北逍遥 阅读(302) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <deque>#include <algorithm>#include <vector> using namespace std; int main(){ deque<int> deq1; deque<int>::iterator deq_it 阅读全文
posted @ 2019-06-12 21:02 西北逍遥 阅读(622) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <deque>#include <algorithm>#include <functional> using namespace std; int main(){ deque<int> deque1; for (int k=0;k<15;k++ 阅读全文
posted @ 2019-06-12 20:44 西北逍遥 阅读(245) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector> using namespace std; int main(){ vector<int> vec1; for (int k=0;k<5;k++) { vec1.push_back(ran 阅读全文
posted @ 2019-06-12 20:03 西北逍遥 阅读(229) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector>#include <iterator> using namespace std; int main(){ vector<int> vec1; for (int k=0;k<10;k++) 阅读全文
posted @ 2019-06-12 19:37 西北逍遥 阅读(413) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <list>#include <iterator>#include <functional> using namespace std; int main(){ int source[] = { 1,2,3 阅读全文
posted @ 2019-06-12 19:18 西北逍遥 阅读(367) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <list>#include <vector>#include <functional> using namespace std; int main(){ list<int> list1; for (in 阅读全文
posted @ 2019-06-12 17:14 西北逍遥 阅读(365) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <list>#include <algorithm>#include <iterator>#include <functional> using namespace std; int main(){ list<int> list1; list< 阅读全文
posted @ 2019-06-12 16:37 西北逍遥 阅读(339) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector>#include <list>#include <string>#include <functional>#include<iterator> using namespace std; i 阅读全文
posted @ 2019-06-12 16:08 西北逍遥 阅读(204) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <vector>#include <deque>#include <algorithm> using namespace std; int main(){ vector<int> vec1; deque<int> deq1; for (int 阅读全文
posted @ 2019-06-12 12:44 西北逍遥 阅读(330) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>#include<vector>#include <list>#include <algorithm>#include <functional> using namespace std; //不需拷贝,速度快void square(int &elementPara 阅读全文
posted @ 2019-06-12 10:44 西北逍遥 阅读(297) 评论(0) 推荐(0) 编辑
摘要:list<char>::iterator pos; 一般使用前置式递增(preincrement),因为它比后置式递增(postincrement)效率高,因为后置式递增内部需要一个临时对象,因为它必须存放迭代器原来的位置并返回之。 阅读全文
posted @ 2019-06-12 10:22 西北逍遥 阅读(725) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>#include<vector>#include <list>#include <algorithm>#include <functional> using namespace std; int main(){ vector<int> vec1; list<int 阅读全文
posted @ 2019-06-12 09:52 西北逍遥 阅读(431) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector>#include <functional>#include <list> using namespace std; int main(){ list<int> list1; for (in 阅读全文
posted @ 2019-06-12 08:24 西北逍遥 阅读(355) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <list>#include <functional>#include <vector> using namespace std; //已序区间查找int main(){ list<int> list1; 阅读全文
posted @ 2019-06-11 19:08 西北逍遥 阅读(748) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque>#include <list>#include <vector>#include <functional> using namespace std; //二元谓词bool isEven(in 阅读全文
posted @ 2019-06-11 16:33 西北逍遥 阅读(653) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <list>#include <algorithm> using namespace std; int main(){ list<int> list1; for (int k=0;k<10;k++) { list1.push_back(k); 阅读全文
posted @ 2019-06-11 15:13 西北逍遥 阅读(7759) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <deque> using namespace std; //二元谓词//比较两个数的大小bool absLess(int elementParam1,int elementParam2){ return 阅读全文
posted @ 2019-06-10 20:45 西北逍遥 阅读(3304) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <algorithm>#include <vector>#include <functional>#include<set> using namespace std; //一元谓词bool isEven(int elementParam){ i 阅读全文
posted @ 2019-06-10 20:25 西北逍遥 阅读(1287) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <set> using namespace std; template<typename Container>void PrintContents(const Container& con); template<typename Contain 阅读全文
posted @ 2019-06-10 15:00 西北逍遥 阅读(162) 评论(0) 推荐(0) 编辑
摘要:template<typename Container>void PrintContents(const Container& con) { Container::const_iterator iter = con.begin(); while (iter != con.end()) { cout 阅读全文
posted @ 2019-06-10 14:40 西北逍遥 阅读(348) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <map>#include <string> using namespace std; int main(){ map<int, string> map1; multimap<int, string> multimap1; map1.inser 阅读全文
posted @ 2019-06-10 10:15 西北逍遥 阅读(1623) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <string> using namespace std; int main(){ string str1("hello"); string str2("hello"); string str3("world"); if (str1 != st 阅读全文
posted @ 2019-06-10 09:20 西北逍遥 阅读(2760) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <string> using namespace std; int main(){ string str1("hello"); string str2(" study c++"); string::iterator str_iter = str 阅读全文
posted @ 2019-06-09 20:08 西北逍遥 阅读(875) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <string> using namespace std; int main(){ string a1; cout << a1<< endl; string s2(5,'a'); cout << s2 << endl; string s3(s2 阅读全文
posted @ 2019-06-09 19:42 西北逍遥 阅读(1621) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <vector> using namespace std; int main(){ vector<int> vec1; for (int k=0;k<20;k++) { vec1.push_back(k); cout << "size:"<<v 阅读全文
posted @ 2019-06-09 17:14 西北逍遥 阅读(383) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <vector>#include <list>#include <deque> using namespace std; int main(){ vector<int> a; vector<int> b; a.push_back(10); a. 阅读全文
posted @ 2019-06-09 16:14 西北逍遥 阅读(758) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <list>#include <algorithm>#include <string> using namespace std; int main(){ list<string> slist; slist.push_back("A"); sli 阅读全文
posted @ 2019-06-09 15:49 西北逍遥 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-08 21:03 西北逍遥 阅读(347) 评论(0) 推荐(0) 编辑
摘要:#pragma oncetemplate<typename T>class smart_pointer{private: T* m_pRawPointer;public: smart_pointer(T* pData) :m_pRawPointer(pData) {} //复制构造函数 smart_ 阅读全文
posted @ 2019-06-08 20:16 西北逍遥 阅读(155) 评论(0) 推荐(0) 编辑
摘要:try { for (int i = 0; i<1000; i++) { test1 = new Test(); cout << i << " new dog success..." << endl; } } catch (bad_alloc err) { cout << "fail:"<<err. 阅读全文
posted @ 2019-06-08 19:22 西北逍遥 阅读(527) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; const int DefaultSize = 10; class Array{public: Array(int itsSize=DefaultSize); ~Array() { delete[] pType; } 阅读全文
posted @ 2019-06-08 17:34 西北逍遥 阅读(866) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <stdio.h> using namespace std; class IOException{};class FileException{};class UndefineError{}; void my_copy(const char* s 阅读全文
posted @ 2019-06-08 16:54 西北逍遥 阅读(1599) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <stdio.h> using namespace std; void my_copy(const char* src_file, const char* dest_file){ FILE *in_file, *out_file; in_fil 阅读全文
posted @ 2019-06-08 16:42 西北逍遥 阅读(1919) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <stdio.h> using namespace std; int my_copy(const char* src_file,const char* dest_file){ FILE *in_file, *out_file; in_file 阅读全文
posted @ 2019-06-08 16:37 西北逍遥 阅读(370) 评论(0) 推荐(0) 编辑
摘要:template<class T> void Queue<T>::Push(const T& item){ /*if (rear == capacity-1) { rear = 0; } else { rear++; }*/ //判断队列是否存满 if ((rear+1)%capacity == f 阅读全文
posted @ 2019-06-07 21:29 西北逍遥 阅读(522) 评论(0) 推荐(0) 编辑
摘要:package com.bim.rrt_20190529; import static java.lang.Math.pow;import static java.lang.Math.sqrt; import java.util.ArrayList; public class Tree { Node 阅读全文
posted @ 2019-06-07 13:10 西北逍遥 阅读(170) 评论(0) 推荐(0) 编辑
摘要:#include<iostream>#include<algorithm>#include<vector>using namespace std; int main(){ vector<int> v1; for(int i=0;i<10;++i) { v1.push_back(i); } for_e 阅读全文
posted @ 2019-06-06 08:55 西北逍遥 阅读(299) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <vector>#include <list> using namespace std; int main(){ vector<int> a; for (int k=0;k<10;k++) { a.push_back(k); } list<ch 阅读全文
posted @ 2019-06-06 08:41 西北逍遥 阅读(3964) 评论(0) 推荐(1) 编辑
摘要:#include <iostream> using namespace std; class AHasPtr {public: AHasPtr(int *p, int i):ptr(p), val(i) {} int getVal() { return this->val; } int *getPt 阅读全文
posted @ 2019-06-05 09:47 西北逍遥 阅读(149) 评论(0) 推荐(0) 编辑
摘要:#include <iostream> using namespace std; class CDemo {public: CDemo(int pa,char *cstr) { this->a = pa; this->str = new char[104]; strcpy(this->str,cst 阅读全文
posted @ 2019-06-05 08:53 西北逍遥 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-06-04 20:30 西北逍遥 阅读(270) 评论(0) 推荐(0) 编辑
摘要:#include <iostream>#include <string>#include <fstream>#include <sstream> using namespace std; template<typename T>int compare(const T &v1, const T &v2 阅读全文
posted @ 2019-06-03 21:15 西北逍遥 阅读(177) 评论(0) 推荐(0) 编辑
摘要:#pragma once#include <iostream>#include <iomanip> using namespace std; template<class T>class Queue{ struct Node { T a; Node *next; }; public: Queue() 阅读全文
posted @ 2019-06-03 20:29 西北逍遥 阅读(346) 评论(0) 推荐(0) 编辑
摘要:#pragma once#include <iostream>#include <iomanip> using namespace std; class Queue{ struct Node { int a; Node *next; }; public: Queue(); void push(int 阅读全文
posted @ 2019-06-03 19:46 西北逍遥 阅读(267) 评论(0) 推荐(0) 编辑
摘要:public slots: //打开Pts文件按钮点击事件 void OnOpenFileButtonClick(); //分析按钮点击事件 void OnAnalysisButtonClick(); //保存按钮点击事件 void OnSaveButtonClock(); //连接按钮点击事件 v 阅读全文
posted @ 2019-06-02 18:52 西北逍遥 阅读(280) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示