![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c
cary_11111
幸福是看到大家都好!
展开
-
冒泡排序
#include#define N 15void BubbleSort(int array[],int n){ int i,j,temp;//外循环控制循环趟数 for(i=0; i {//内循环选择要进行比较的数 for(j=0;j { if(array[j]>array[j+1]) { temp=array[j];原创 2014-11-24 16:41:25 · 490 阅读 · 0 评论 -
linux c读取gzip内容
base64 -d xxx.txt |gunzip -|iconv -f utf-8 -t gbk >aaa.txtbase64 解压,然后gunzip解压gzip内容,然后utf8转码成gbk格式,将内容放入aaa.txt文件。原创 2018-05-31 13:47:01 · 1015 阅读 · 0 评论 -
linux下读取excel文件
一、example.cpp#include <iostream>#include <stdio.h>#include <string.h>#include <stdlib.h>//#include <wchar.h>//#include <locale.h>#include "libxl.h"using原创 2018-08-02 17:26:58 · 25340 阅读 · 2 评论