- 博客(2)
- 收藏
- 关注
原创 C++ 分割字符串-Split
通过stringstream的getline 分割string#include "stdafx.h" #include <string> #include <vector> #include <sstream> using namespace std; vector<string> Split(string str, char de[]) { vector<string> vec = {st
2016-09-01 21:17:27
219
转载 Cocos2d-x3.3利用TileMap绘制Polygon/PolyLine
转自: http://www.cnblogs.com/lucky-hugh/p/4119931.html tiled提供了多边形/折线的绘制, 在Cocos2dx3.3(不知道其他版本如何)中能够读取这些对象. 但是网上似乎没有Cocos2dx读取多边形/折线的相关教程. 今天尝试了PolyLine的绘制, 就在这里记录一下, 也希望能够帮到需要的人. 这里只介绍PolyLine的情况.
2015-05-19 15:00:09
895
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人