#include <QtCore/QCoreApplication>
#include <QTextStream>
#include <QXmlStreamReader>
#include <QtXML/QDom.h>
#include <QZip/QuaZipFile.h>
#include <iostream>
int main(int argc,char *argv[])
{
QCoreApplication app(argc,argv);
QuaZip zip(":qrc/zip.zip");
if(!zip.open(QuaZip::mdUnzip))
{
std::cout<<"open failed:"<<zip.getZipError()<<std::endl;
system("pause");
return -1;
}
if(zip.setCurrentFile("list.xml"))
{
QuaZipFile zipfile(&zip);
if(!zipfile.open(QIODevice::ReadOnly))
{
std::cout<<"open zipfile failed"<<std::endl;
system("pause");
return -1;
}
QTextStream stream(&zipfile);
while(!stream.atEnd())
std::cout<<qPrintable(stream.readLine())<<std::endl;
zipfile.close();
zip.close();
}
else
std::cout<<"set current file failed."<<std::endl;
system("pause");
return 1;
}
需要使用QuaZip库
Continue reading

AI 越强,我越不想招人了
不是人不行,是管人太累、太贵。未来不是大团队打败小团队,而是小团队 + AI + 高杠杆打败大团队。

跨境电商今日要闻(8月13日):TikTok Shop 半年狂揽503亿美元,美区反超印尼登顶全球第一
TikTok Shop 上半年全球 GMV 503 亿美元、同比+92%,美区 118 亿反超印尼登顶;SHEIN 估值腰斩冲刺港股;美国 800 美元小包免税 8 月 29 日终结。

跨境电商今日要闻(8月12日):欧盟最严包装法今天正式执行,不合规就下架
今日头条:欧盟PPWR包装法规8月12日正式全面强制实施,不设缓冲过渡期。平台动态:TikTok Shop美区10亿美元新锐商家加速计划、小红书Redshop跨境正式上线。Shopify Q2 GMV增31.5%,美客多Q2营收增50%创四年最快增速。菜鸟全球三日达上线,半价对标国际快递。
No comments yet