上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 38 下一页
摘要: 利用字符串流类可实现字符串转换为其他类型,采用字符串流类可以很容易的把各种类型的字符串(不管是c类型还是string类型)转换为单精度,双精度。使用字符串流类,需要包含头文件#include,对于istringstream提供读字符串的功能,ostringstream提供写字符串的功能,str... 阅读全文
posted @ 2016-04-30 16:16 硫酸亚铜 阅读(276) 评论(0) 推荐(0) 编辑
摘要: #include#include //STL链表 usingnamespace std; int maxdigit(int data[], intn) //判断最大的数的位数{ intd = 1; intp = 10; for(int i = 0; i ... 阅读全文
posted @ 2016-04-30 15:51 硫酸亚铜 阅读(222) 评论(0) 推荐(0) 编辑
摘要: QueueLi.h头文件源代码:#ifndef_QUEUELI_H_#define_QUEUELI_H_ templateclassQueue{public: Queue(); //构造函数 ~Queue(); //析构函数 boolIsEmpty()const... 阅读全文
posted @ 2016-04-30 00:02 硫酸亚铜 阅读(152) 评论(0) 推荐(0) 编辑
摘要: LinkedStack.h头文件源代码:#ifndefLINKEEDSTACK_H#defineLINKEEDSTACK_H templateclassLinkedStack; templateclassChainNode{ friendclass LinkedStack;private... 阅读全文
posted @ 2016-04-28 14:44 硫酸亚铜 阅读(140) 评论(0) 推荐(0) 编辑
摘要: List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_//迭代器的前置声明templateclassListInterator;//链表类的前置声明templateclassList; templateclassListNode //节点类{ fri... 阅读全文
posted @ 2016-04-27 11:13 硫酸亚铜 阅读(148) 评论(0) 推荐(0) 编辑
摘要: List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_ //迭代器的前置声明templateclassListInterator; //链表类的前置声明templateclassList; templateclassListNode //节点类{ f... 阅读全文
posted @ 2016-04-26 15:50 硫酸亚铜 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://blog.sina.com.cn/s/blog_4d9018650101891w.html模型选择 对于某些问题,某个辐射模型可能比其它模型更适用。在确定使用何种辐射模型时,需要考虑的因素如下:光学深度:光学深度αL 是确定选择辐射模型较好的指标。其中,L 为计算域大致的... 阅读全文
posted @ 2016-04-24 23:09 硫酸亚铜 阅读(3295) 评论(0) 推荐(0) 编辑
摘要: List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_ //链表类的前置声明templateclassList; templateclassListNode //节点类{ friendclass List; private: Ty... 阅读全文
posted @ 2016-04-24 18:06 硫酸亚铜 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ThreeLetterList.h头文件源代码:#ifndefTHREE_LETTER_LIST#defineTHREE_LETTER_LISTclassThreeLetterList{ private: //嵌套类 classThreeLetterNode ... 阅读全文
posted @ 2016-04-24 14:36 硫酸亚铜 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 本方法还有诸多不完善的地方,转换代码转换格式之后还是需要自己手动分割txt文件,如果数据量太大,手动操作很是辛苦。现在只能得到点的数据,如何重构几何还是问题,UG貌似可以,欢迎交流。首先在tecplot当中导入模型的cas文件然后选择文件导出保存的位置:打开刚才保存的文件,导出数据点的格式如下... 阅读全文
posted @ 2016-04-24 01:31 硫酸亚铜 阅读(811) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 38 下一页