2012年3月8日

摘要: 在osg3.0里 这个函数应该改名为了 setCameraManipulator 把addCameraManipulator 改成 setCameraManipulator ,即可 阅读全文
posted @ 2012-03-08 10:50 chateldon 阅读(337) 评论(0) 推荐(0) 编辑

2012年3月5日

摘要: 解决方法一:工程属性 ---- 链接 --- 输入 -- 附加依赖项 ......或者 代码中的 #pragma comment(lib , "***.lib ");如果已经有上述的操作还是出现问题,解决方法二:工程属性 ---- vc++ ----库目录里的lib目录改成lib/Debug;lib/Release;今天遇到问题的解决方法。。。。 阅读全文
posted @ 2012-03-05 10:17 chateldon 阅读(559) 评论(0) 推荐(0) 编辑

2012年2月28日

摘要: Mostly time,I conceive the frame of our life style and contemplate life in China nowadays.There is a lot to say.Many werid things and eccentric overwhelm the normal daily things and occupy the headline.As the salt of world,you have to comply with the rules that are not conspicous,which is called Hid 阅读全文
posted @ 2012-02-28 14:03 chateldon 阅读(152) 评论(0) 推荐(0) 编辑

2012年2月27日

摘要: My grade of CET6 is very poor.I feel terrible.As follow ,here are the schedule for the next CET6 in June.Fighting!!! Lolita Liu.AM:6:30 getting up 7:00~8:00 remember the vocabularyPM:1:00~2:00 TED talks & NYTA hour before going to bed.Reading! 阅读全文
posted @ 2012-02-27 13:12 chateldon 阅读(97) 评论(0) 推荐(0) 编辑

2012年2月21日

摘要: // erasing from vector#include <iostream>#include <vector>using namespace std;int main (){ unsigned int i; vector<unsigned int> myvector; // set some values (from 1 to 10) for (i=1; i<=10; i++) myvector.push_back(i); // erase the 6th element myvector.erase (myvector.begin()+5); 阅读全文
posted @ 2012-02-21 13:43 chateldon 阅读(652) 评论(0) 推荐(0) 编辑

2012年2月17日

摘要: fstream fin;string out;fin.open("abc.txt");fin>>out;cout<<out;//////////////////////////////这样写的话,只能读到第一个空格符之前//为什么不是最后一个字符串而是第一个呢、?换成:while(fin>>out){ cout<<out<<endl;}/////////////////////////////才能完全显示txt的内容。 阅读全文
posted @ 2012-02-17 17:12 chateldon 阅读(527) 评论(0) 推荐(0) 编辑

导航