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

如何简述网站建设流程网站网络推广

如何简述网站建设流程,网站网络推广,网站没制作好可以备案吗,wordpress写文章美化qt自动生成的ts文件内部就是用xml写的&#xff0c;可以直接用txt文档编辑器打开。想要使用该代码需要更换文件路径&#xff0c;使用前可以强制更改后缀名将ts文件改成txt文件。 #include <iostream> #include <fstream> #include <string> #include <vec…

qt自动生成的ts文件内部就是用xml写的,可以直接用txt文档编辑器打开。想要使用该代码需要更换文件路径,使用前可以强制更改后缀名将ts文件改成txt文件。

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <iosfwd>
#include<sstream>int Split(const std::string& s, std::vector<std::string>& sv, const char delim, int maxSplit = 0) {sv.clear();std::istringstream iss(s);std::string temp;int splitCount = maxSplit == 0 ? INT_MIN : 0;while (std::getline(iss, temp, delim) && (splitCount++ < maxSplit)) {sv.emplace_back(std::move(temp));}return static_cast<int>(sv.size());
}int main() {std::string file_name{ "" };file_name = "D:Chinese.txt";std::ifstream in_file;in_file.open(file_name.c_str(), std::ios::binary);if (in_file.is_open()) {//打开输出文件file_name = "D:Chinese.csv";std::ofstream out_file;out_file.open(file_name.c_str(), std::ios::binary);if (out_file.is_open()) {std::string str;std::vector<std::string> str_data;std::vector<double> data;//循环读取ts文件并输出到csv中bool need_endl = false;while (std::getline(in_file, str)) {str_data.clear();Split(str, str_data, '<');//把多行翻译排除if (str_data.size() >= 3) {str = str_data[1];str_data.clear();Split(str, str_data, '>');if (str_data.size() >= 2) {if (str_data[0] == "source") {out_file << str_data[1] << ",";need_endl = true;}else {//判断是否包含tanslation关键字std::vector<std::string> str_trans_symbol;Split(str_data[0], str_trans_symbol, ' ');if (str_trans_symbol[0] == "translation") {//将翻译中包含的逗号转为空格std::vector<std::string> str_translation;Split(str_data[1], str_translation, ',');for (auto temp : str_translation){out_file << temp << "   ";}out_file << std::endl;need_endl = false;}}}else {if (need_endl) {out_file << std::endl;need_endl = false;}}}else {if (need_endl) {out_file << std::endl;need_endl = false;}}}out_file.close();}in_file.close();}
}
http://www.hkea.cn/news/603288/

相关文章:

  • 云南做网站的公司外贸谷歌优化
  • 网页设计学徒培训可试学巢湖seo推广
  • 让顾客心动的句子seo模拟点击软件源码
  • 设计类专业包括哪些kj6699的seo综合查询
  • 手机网站制作哪家好查关键词
  • 米拓企业网站管理系统电商培训机构排名前十
  • 做效果图有哪些网站seo点击排名
  • 网络营销推广网站收录seo推广排名平台有哪些
  • 产品经理如何看待网站开发广州软件系统开发seo推广
  • wordpress 忘记管理员如何做网站seo
  • app和网站哪个有优势淘宝关键词排名
  • wordpress该域名宁波网站seo公司
  • 建购物网站怎么建呀简单的网站建设
  • 江苏省建设教育协会网站首页百度知道合伙人答题兼职入口
  • 做优化的网站平台搭建
  • 做网站需要多久网络推广是什么专业
  • 厦门加盟网站建设线上推广营销
  • 定制网站案例seo搜索引擎优化薪酬
  • 网站制作成功后怎么使用浏览器观看b站视频的最佳设置
  • 一家专门做开网店的网站北京seo专员
  • 专业企业网站搭建服务头条权重查询
  • 去哪儿网站上做民宿需要材料免费的黄冈网站有哪些平台
  • 网站建设网现在推广什么app最挣钱
  • 嘉兴装修公司做网站安装百度到桌面
  • 电商网站特点外贸营销网站建站
  • 上海市住房城乡建设管理委员会网站网络营销软文范例大全800
  • 莱芜区政协网站做网络优化的公司排名
  • 太原网站建设开发公司电商运营基本知识
  • php做企业网站seo网站推广企业
  • 万网网站备案授权书免费发布推广信息的b2b