摘要: string转char 主要有三种方法可以将str转换为char 类型,分别是:data(); c_str(); copy(); data()方法 同时有一点需要说明,这里在devc++中编译需要添加const,否则会报错invalid conversion from const char to c 阅读全文
posted @ 2019-03-23 16:20 youngliu91 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 代码如下: // cvTest.cpp : Defines the entry point for the console application. include "stdafx.h" include include include using namespace cv; using namesp 阅读全文
posted @ 2019-03-23 08:48 youngliu91 阅读(1240) 评论(0) 推荐(0) 编辑