
小程序
VCDI
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++文件读写
在看C++编程思想中,每个练习基本都是使用ofstream,ifstream,fstream,以前粗略知道其用法和含义,在看了几位大牛的博文后,进行整理和总结:这里主要是讨论fstream的内容:[java] view plain copy print?#include <fstream> ofstream //文件写操作 内存写入存储设备 ifstream ...原创 2018-03-06 21:55:26 · 222 阅读 · 0 评论 -
git clone --recursive失败
问题:error:unable to create file.... Filename too long。解决:1.CMD或者BASH管理权限;2.git config --system core.longpaths true 或者git clone -c core.longpaths=true <repo-url>...原创 2019-05-11 20:23:14 · 2315 阅读 · 0 评论 -
C++ 采集音频流(PCM裸流)实现录音功能
#include "stdafx.h"#include <stdio.h> #include <windows.h> #pragma comment(lib, "winmm.lib") HWAVEIN hWaveIn; //输入设备WAVEFORMATEX waveform; //采集音频的格式,结构体BYTE *pBuffer1;//采集音频时的...转载 2018-10-27 11:55:28 · 1410 阅读 · 0 评论 -
Package "android-tools-fastboot"
Name: android-tools-fastboot Description: Fastboot protocol CLI tool Fastboot is protocol used to update the flash filesystem in Android devices from a host over USB. It allows fla...转载 2018-09-09 22:46:10 · 385 阅读 · 0 评论 -
Package "android-tools-adb"
Name: android-tools-adb Description: Android Debug Bridge CLI tool Android Debug Bridge (adb) is a versatile tool lets you manage the state of an emulator instance or Android-power...转载 2018-09-09 22:44:13 · 749 阅读 · 0 评论 -
纯js实现最简单的文件上传(后台使用MultipartFile)
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>XMLHttpRequest上传文件</title> <script type="text/javascript">转载 2018-08-29 16:31:46 · 1389 阅读 · 0 评论 -
C++ UNICODE编码
//UNICODE编码//返回转换后的UNICODE数据长度int ConvUniStr2Unicode(LPCSTR szUnicodeString, WCHAR *pWchar, int iBuffSize){ int iRet = 0; int iUstrLen = strlen(szUnicodeString); ASSERT(pWchar); ASSERT(iU...原创 2018-06-29 21:12:29 · 1600 阅读 · 0 评论 -
Eclipse+Maven 制作可执行jar
Eclipse+Maven 制作可执行jar2016年08月19日 16:48:09阅读数:15341、新建Maven类型项目,packaging选择【jar】2、新建一个类,包含一个入口程序(main函数)3、配置pom.xml,也是最重要的一部,之前同事都是用mave-build(【项目右键】-【Run as】-【Maven build】)方法执行,个人觉得配置一下pom.xml后,使用mav...转载 2018-06-24 00:56:34 · 339 阅读 · 0 评论 -
成绩排序
#include <iostream>#include <string>using namespace std;typedef struct node{ string name; int score; struct node *next;}SNode;int flag;void listsort(SNode *head){ head = head-&...原创 2018-03-20 14:43:50 · 261 阅读 · 0 评论 -
查找字符串中出现次数最多的字符
代码如下:#include <iostream>using namespace std;typedef struct node{ char ch; int c_count;}SNODE;//返回次数最多的字符节点,从大到小排阿node[0].c_count最大SNODE checkcount(SNODE *node, int len){ SNODE temp; f...原创 2018-03-09 20:04:41 · 1125 阅读 · 0 评论 -
字符串取数值求总和
#include <iostream>using namespace std;int main(){ char recStr[1024]; int count = 0; //分割数的个数 float totalsum = 0; float sum[1024] = { 0 }; //实数跟虚数和 float real = 0; //实数 float image = 0;...原创 2018-03-07 21:21:20 · 457 阅读 · 0 评论 -
Anaconda更换镜像源及用法
这里用清华的源:conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/删除镜像源:conda config --remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/查看镜像源...原创 2019-05-12 11:30:07 · 10837 阅读 · 2 评论