新鲜事
-
-
sh脚本学入操作: #!/bin/bash#当前文件必须在git目录下执行 #获取Git分支名 BRANCH=$(git rev-parse --abbrev-ref HEAD)# 获取Git提 ..
-
-
1.延时函数: #include <conio.h> 在linux平台用curses.h ubantu下输入 sudo apt-get install libncurses5-dev 安装 sleep(1 ..
-
-
//提取视频中的声音 //从mp4中提取mp3 ffmpeg -i 11.mp4 -vn 33.mp3//去除视频中的原声 ffmpeg -i 33.mp4 -c:v copy -an 1234.mp4
-
-
求阶乘 //计算阶乘2! double factorial(double n) { if (n == 0) { return 0; } else { return n * (M_PI / 180); } }
-
-
void Qsort(int* a, int n) { assert(a);//断言防止越界 for (int i = 0; i < n-1; i++) { for (int j = 0; j < n - 1 - i; ..
-
-
C语言版: void HSLtoRGB(float h, float s, float l, int* r, int* g, int* b) { if (s == 0) { // 灰色阶段 *r = *g = *b = l * ..
-
-
tableWidget->setColumnCount(25); tableWidget->setRowCount(11); tableWidget->horizontalHeader()->setVisible(fal ..
-
-
1.带绝对路径 QString video_File; //mnt/sdcard/ //将路径写入video.txt QString name_file="video.txt"; QFileIn ..
-
-
1.如何确定中心点: QPainter painter(this); painter.setRenderHints(QPainter::Antialiasing|QPainter::TextAntialiasing); paint ..
-
-
1.实现动画效果 void Widget::SetButtonStyle(QPushButton *button, QString imgsrc, int CutSec) {//=========================Qss切 ..