![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Heart_Will_GN
这个作者很懒,什么都没留下…
展开
-
字符串处理函数 find(), find_first_of() 和 find_last_of()的使用
在leedcode上刷题遇见了一个问题,错误的使用字符串函数find_last_of(),随查阅资料整理了这个三个函数的使用。find()函数:语法: size_type find( const basic_string &str, size_type index ); size_type find( const char *str, size_type ind...原创 2019-01-09 10:43:10 · 3596 阅读 · 0 评论 -
浅说#include《》和 #include”” 的区别
一、#include< > #include< >引用的是编译器的类库路径里面的头文件。 编译器会在最初系统定义的指定路径下寻找(VC_IncludePath),系统带有的一些头文件,如: stdio.h、conio.h、string.h、stdlib.h 等等。(我使用的是vs2013,用<>引用自己编写的头文件是报错的,很多博客说,#inclu...原创 2019-03-28 11:55:52 · 1086 阅读 · 0 评论