其实这个和网络编程没什么关系。string.find(...)是什么用法?(强调,不是CString)
比如:
string str="asdfasdfasdf";
str.find(" ",0);
比如:
string str="asdfasdfasdf";
str.find(" ",0);
解决方案 »
- 对话框 多线程 char *pPostmsgbuf = new char[200]的使用
- CVS windows的客户端查看历史(web log)太麻烦了,实在看不清。谁有好的办法
- 请教:为什么弹出一个MessageBox程序运行才能正确?
- 如何使用API函数实现树状视图中叶的图标的动态改变?
- 我一个工程想法
- 如何在启动一个SDI程序之前首先显示一个模态对话框!
- 大家给个建议
- 关于cwnd的问题
- 文档/视结构保存文本的问题
- 如何实现系统级的对话框,并屏蔽系统热键(如Ctrl+alt+del.Alt+Tab),即让该对话框运行后,非要通过该对话框才能回到WINDOWS,起到锁屏的
- 编译问题?<高手请进 >
- mscomm控件问题,急,在线等
size_type find(E c, size_type pos = 0) const;
size_type find(const E *s, size_type pos = 0) const;
size_type find(const E *s, size_type pos, size_type n) const;
size_type find(const basic_string& str, size_type pos = 0) const;
Each member function finds the first (lowest beginning position) subsequence in the controlled sequence, beginning on or after position pos, that matches the operand sequence specified by the remaining operands. If it succeeds, it returns the position where the matching subsequence begins. Otherwise, the function returns npos.
“是C++标准库带的范型算法”
___能稍微详细的解释下吗?