Advertisement

C++(四八二)std string用法

阅读量:

std::string::size_type start_pos, std::string::size_type num_chars

str.substr(start_pos+1, num_chars-1)

std::string::size_type pos = 0;
integer variable pos is assigned the initial value of zero.
integer variable pos is assigned the result of findFirstNotOf within the specified range.

_valueMap[name] = value = str;

std::string::size_type declPos = source.rfind( "#version " );

std::string dectypesarray[] = {"float oe_layer_rangeOpacity",
"vP_vec4",
"out Per_VP_ Vertex {\n",
" } Vertex_Out",
"in Per_VP_ Vertex {\n",
" } Vertex_In"};

int iyu = sizeof(dectype sr

全部评论 (0)

还没有任何评论哟~