摘要: 头文件 #include<atlstr.h> C++读取INI文件 - 疯封风 - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-12-23 15:48 yangly 阅读(53) 评论(0) 推荐(0)
摘要: std::string 转 int string str; int istr = std::atoi(str.c_str()); char* 转 int char* tok; int itok = atoi(tok); std::string 或者 const char* 转 char* strin 阅读全文
posted @ 2022-12-23 15:11 yangly 阅读(136) 评论(0) 推荐(0)
摘要: 通过ODBC连接上数据库后,同事让我换内网电脑开发,又换了数据库给我,结果怎么都连不上数据库,又尝试了DPI连接达梦数据库的方式,连接上了,记录如下。 连接代码 #include "StdAfx.h" #include <stdio.h> #include <stdlib.h> #include < 阅读全文
posted @ 2022-12-23 11:10 yangly 阅读(2567) 评论(0) 推荐(0)