当前位置: 首页 > news >正文

深圳品牌策划公司排名做抖音seo用哪些软件

深圳品牌策划公司排名,做抖音seo用哪些软件,地方门户网站资讯该怎么做,外贸营销网弄了好久的一段代码#xff0c;ide用的eclipse#xff0c;数据库连接不会的自己去找吧#xff0c;网上蛮多的#xff1b;功能虽然不是很强#xff0c;但还是蛮有借鉴意义的。 #include stdio.h #include stdlib.h #include string.h #include ide用的eclipse数据库连接不会的自己去找吧网上蛮多的功能虽然不是很强但还是蛮有借鉴意义的。 #include stdio.h #include stdlib.h #include string.h #include mysql.h #include iostream#include string#include opencv/cv.h #include opencv/highgui.h using namespace std;string IntToStr(int num) {stringstream ss;ss.clear();ssnum;return ss.str(); }int main() {//定义数据库连接信息const char user[] root; //usernameconst char pswd[] phancie; //passwordconst char host[] localhost; //or127.0.0.1const char table[] phancie_vision; //databaseunsigned int port 3306; //server portMYSQL myCont;MYSQL_RES *result;//MYSQL_ROW sql_row;//MYSQL_FIELD *fd;//char column[32][32];mysql_init(myCont);if(mysql_real_connect(myCont,host,user,pswd,table,port,NULL,0)){coutconnect succeed!endl;//设置编码格式,否则在cmd下无法显示中文mysql_query(myCont, SET NAMES GBK);int image_id 1;char filename[256];//IplImage *image0;sprintf(filename , /phancie/phv_images/imgs_orgsrc/imgs_natural/imgs_people/wuqilong/%d.jpg , image_id );IplImage* src cvLoadImage(filename);cout\n开始存储图片信息 \n;while(src){int orgExists 1;int orgWidth src-width;int orgHeight src-height;int orgDepth src-depth;int orgWidthStep src-widthStep;int thumbExists 0;string path /phancie/phv_images/imgs_orgsrc/imgs_natural/imgs_people/wuqilong/IntToStr(image_id).jpg;const char* orgRelativaPath path.c_str();//定义数据库操作语句//将图片信息插入数据库中string orgsql insert into phvImages(orgExists,orgWidth,orgHeigth,orgDepth,orgRelativePath,orgWidthStep,thumbExists);orgsql values(IntToStr(orgExists),IntToStr(orgWidth),IntToStr(orgHeight),IntToStr(orgDepth),orgRelativaPath,IntToStr(orgWidthStep),IntToStr(thumbExists));//将std::string类型转换为const char*const char *sql_insert orgsql.c_str();coutsql_insertendl;int res mysql_query(myCont,sql_insert);if(!res){printf(插入成功,受影响行数:%lu\n,(ulong)mysql_affected_rows(myCont));}else{coutquery sql failed!endl;}image_id;sprintf(filename , /phancie/phv_images/imgs_orgsrc/imgs_natural/imgs_people/wuqilong/%d.jpg , image_id );src cvLoadImage(filename);}}else{coutconnect failed!endl;}if(result!NULL) mysql_free_result(result);//释放结果资源mysql_close(myCont);//断开连接return 0;}
http://www.huolong8.cn/news/36410/

相关文章:

  • 企业网站每年续费吗培训网站大数据分析
  • 宁安网站建设京东网站的设计风格
  • 南阳网站关键词十大效果图网站
  • 百度推广送的公司网站有什么用wordpress发布十万篇文章
  • 保险公司招聘网站中英切换的网站咋做
  • 南谯区住房和城乡建设局网站建立门户网站的步骤
  • 在哪建企业网站好网站建设托管pfthost
  • 小区服务网站怎么做免费推广平台排行
  • 阿里云备案 网站服务内容陕西 网站建设 陕ICP
  • 关于国家对网站建设公众号开发收费价目表
  • 做公众号首图的设计网站mip网站有什么好处
  • 网站建设个人学网站开发怎么就业
  • 做电商网站都需要学什么条件销售怎样找精准客户
  • 九江做网站公司怀化订水网站
  • 网站开发使用数据库的好处wordpress 外链视频
  • 织梦网站如何做地区分站php在网站开发中的作用
  • 大多数网站开发现状wordpress输网址采集
  • 南浦电商网站建设自媒体123网站
  • 北京 好的网站制作注册公司
  • 做网络销售都做什么网站网站服务器基本配置
  • 建一个企业网站多少钱阿里巴巴网站服务器成本
  • 实训做网站收获安徽建设部网站
  • 免费网站大全做企业网站有前途吗
  • 个人域名可以建公司网站吗域名的定义
  • 企业网站网站建设价格php企业网站整站源码
  • 江西网站建设推广自己做儿童衣服教程的网站
  • 做服饰的有哪些网站wordpress的根目录
  • 西安网站网络营销wordpress添加页面的代码
  • 在建设厅网站上下载资质标准建设网站比较好的公司吗
  • 制作网站域名需要多少钱在哪个网站做劳动用工备案