0
点赞
收藏
分享

微信扫一扫

关于编译报错 error: cannot convert ‘const std::__cxx11::basic_string‘ to ‘const char*‘ 的处理

腊梅5朵 2022-02-12 阅读 57
linqgnusql

源代码

    if( strcmp((fields[i].name),password)!=0 )

更正

if( strcmp((fields[i].name),password.str() )!=0 )

举报

相关推荐

0 条评论