会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
酷熊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
20
21
22
23
24
25
26
27
28
···
40
下一页
2015年9月6日
UDP-C#代码
摘要: 新建两个控制台应用程序,一个是服务端,一个是客户端。1、服务端代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.S...
阅读全文
posted @ 2015-09-06 09:48 酷熊
阅读(501)
评论(0)
推荐(0)
2015年8月25日
非Unicode工程读取Unicode文件
摘要: MyUnicodeReader.h#pragma once/************************************************************************//* 在“多字节字符集”属性的工程中读取Unicode文件** ---------------...
阅读全文
posted @ 2015-08-25 17:37 酷熊
阅读(296)
评论(0)
推荐(0)
2015年7月21日
模板类重载<<运算符
摘要: 写了一个Matrix模板类,需要重载struct Matrix { T mat[16]; template friend std::ofstream &operator &c);};template std::ofstream &operator &c){ for(...
阅读全文
posted @ 2015-07-21 15:03 酷熊
阅读(1778)
评论(0)
推荐(0)
2015年7月17日
cmd命令行列出文件夹中的文件名
摘要: dir /b >1.txt
阅读全文
posted @ 2015-07-17 11:48 酷熊
阅读(1083)
评论(0)
推荐(0)
2015年7月2日
数独检测器:帝国理工C++作业
摘要: #include #include #include #include using namespace std;bool check_sudoku(const vector& input);int coordtoidx(int row, int col);void extract_row(const...
阅读全文
posted @ 2015-07-02 11:11 酷熊
阅读(468)
评论(0)
推荐(0)
2048控制台程序:一份帝国理工C++作业
摘要: #include #include #include #include using namespace std;//打印输出数组内容到窗口void print_square(const vector &square);//设置默认的初始状态数组,最后一个数是2,其他都是0void set_defau...
阅读全文
posted @ 2015-07-02 11:10 酷熊
阅读(377)
评论(0)
推荐(0)
2015年6月29日
电影与歌
摘要: 三千大佬(2015-6-29)Dj-discotheque/yamboo(2013-3-11)Still Walking步履不停/2008/是枝裕和/2012-4-23观Nobody Knows谁知赤子心/2004/是枝裕和/2012-4-24观Pushing Hands推手/1992/李安/201...
阅读全文
posted @ 2015-06-29 10:45 酷熊
阅读(215)
评论(0)
推荐(0)
2015年6月19日
生成Geometry
摘要: // 由一组点集生成一张三角面片网格Geometry osg::Geometry* createTRIANGLESGeometry(MyMesh &mesh) { osg::ref_ptr triGeom = new osg::Geometry(); ...
阅读全文
posted @ 2015-06-19 09:49 酷熊
阅读(865)
评论(0)
推荐(0)
NodeVisitor的使用-遍历Geode节点下的Geometry并获取顶点、法向量等数据
摘要: struct Subset{ std::vector vertexs;//位置 std::vector normals;//法向 std::vector texCoords;//纹理 std::vector indices;//索引下标 std::vector face...
阅读全文
posted @ 2015-06-19 09:48 酷熊
阅读(1157)
评论(0)
推荐(0)
NodeVisitor的使用-遍历Geode节点并在它与父节点之间添加一个LOD节点
摘要: #include #include #include #include #include #include //只能处理osgExp插件导出的单个ive文件class InsideLODVisitor : public osg::NodeVisitor{public: InsideLODVisito...
阅读全文
posted @ 2015-06-19 09:46 酷熊
阅读(1284)
评论(0)
推荐(0)
上一页
1
···
20
21
22
23
24
25
26
27
28
···
40
下一页
公告