会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Msnow
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年3月6日
第6章 顶点属性、顶点数组和缓冲区对象
该文被密码保护。
阅读全文
posted @ 2016-03-06 07:52 Msnow
阅读(0)
评论(0)
推荐(0)
2016年3月1日
第5章 OpenGL ES 着色语言
该文被密码保护。
阅读全文
posted @ 2016-03-01 05:34 Msnow
阅读(1)
评论(0)
推荐(0)
2016年2月29日
无法解析的外部符号
摘要: 1.只有声明,没有定义 4.cpp文件没有加入工程里面(使用源代码的情况) 3.缺少链接库 工程右键---属性----配置属性 -> 链接器 -> 输入 -> 附加依赖项 -> 点击... 添加依赖项 name.lib 参考目录:http://blog.csdn.net/lanyang123456/
阅读全文
posted @ 2016-02-29 11:32 Msnow
阅读(121)
评论(0)
推荐(0)
2016年2月27日
winsock开发重复定义问题
摘要: 参考: VS2013使用winsock.h和winsock2.h发生冲突后的终极解决方法:http://www.cnblogs.com/Shirlies/p/5137548.html WINSOCK.H WINSOCK2.H的区别及函数重复定义的解决方法:http://blog.chinaunix.
阅读全文
posted @ 2016-02-27 20:26 Msnow
阅读(202)
评论(0)
推荐(0)
VS2012 error C2664: “std::make_pair”:无法将左值绑定到右值引用
摘要: 例如:_mapTransportInfos.insert(std::make_pair<uint32, CTransportInfoPtr>(iter_t->m_nID, pinfo));这句代码在vs2012的c++11就无法编译,报2664错误。可以用如下强制转换来实现: 第一种方法(我这没成功
阅读全文
posted @ 2016-02-27 12:59 Msnow
阅读(867)
评论(0)
推荐(0)
2016年2月26日
VC添加lib库
摘要: 参考:http://www.cnblogs.com/dongsheng/p/4011145.html
阅读全文
posted @ 2016-02-26 17:56 Msnow
阅读(544)
评论(0)
推荐(0)
VC++ 控制台不自动退出
摘要: 1.Ctrl+F5 2.结尾添加 getchar() 3.结尾添加 system("pause"); 参考:http://jingyan.baidu.com/article/5552ef473b08f3518ffbc931.html
阅读全文
posted @ 2016-02-26 17:34 Msnow
阅读(1164)
评论(0)
推荐(0)
在查找预编译头时遇到意外的文件结尾。是否忘记了向源中添加“#include "StdAfx.h"
摘要: 1.你建立的工程使用了预编译功能, cpp最前边要留一行这样的内容: #include "StdAfx.h" 2.在VS的solution explorer中右键checklist.pb.cc-->属性-->预编译头(precompiled header)->预编译头(precompiled hea
阅读全文
posted @ 2016-02-26 17:25 Msnow
阅读(5129)
评论(0)
推荐(0)
不允许使用不完整的类型
摘要: 1.定义对象之前,编译器必须看到完整的类定义,你的代码std::fstream out("person.pb", ios::out | ios::binary | ios::trunc); 中的std::fstream只是声明了,还没有定义,需要包含头文件。
阅读全文
posted @ 2016-02-26 17:15 Msnow
阅读(6061)
评论(0)
推荐(0)
C++文件
摘要: 参考: C++文件读写详解(ofstream,ifstream,fstream):http://blog.csdn.net/kingstar158/article/details/6859379 fstream的使用方法介绍:http://www.cppblog.com/saga/archive/2
阅读全文
posted @ 2016-02-26 17:11 Msnow
阅读(151)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
下一页
公告