Files
HPPA/HPPA/utility_tc.h
2026-03-03 17:22:03 +08:00

30 lines
645 B
C++

#ifndef UTILITY_TC_H
#define UTILITY_TC_H
#include <iostream>
#include <ctime>
#include <string>
#include <QString>
#include <QDebug>
#include <chrono>
QString getFileNameBaseOnTime();
QString formatTimeStr(char * format);
//https://blog.csdn.net/MoreWindows/article/details/6657829
void bubbleSort(unsigned short * a, int n);
void swap(unsigned short * a, unsigned short * b);
bool createDir(QString fullPath);
std::string removeFileExtension(std::string filename);
std::string getFileNameFromPath(const std::string& fullPath);
QList<QString> getFileInfo(QString file);
long long getNanosecondsSinceMidnight();
#endif // UTILITY_TC_H