Skip to content

记一次Segment fault | M_Kepler #5

@M-Kepler

Description

@M-Kepler

https://m-kepler.github.io/2019/04/14/%E8%AE%B0%E4%B8%80%E6%AC%A1Segment%20fault/

重现 功能描述把 test.log 文件每一行按照 / 进行切片,将一行中的所有分片存放到 string 数组中 样例 test.log 中有很多行如下字符串 1home,m_kepler,project 目的是按照 , 切割,把子串存放到 string 数组中 1234string strTmp[3];strTmp[0] = "home"strTmp[1] = &q

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions