-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsystem.h
More file actions
29 lines (22 loc) · 1.7 KB
/
system.h
File metadata and controls
29 lines (22 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef SYSTEM_H
#define SYSTEM_H
//****************************************************************************************************
//зависящие от системы функции
//****************************************************************************************************
//****************************************************************************************************
//подключаемые библиотеки
//****************************************************************************************************
#include <vector>
#include <string>
//****************************************************************************************************
//прототипы функций
//****************************************************************************************************
void CreateFileList(const std::string &path,std::vector<std::string> &vector_file_name,std::vector<std::string> &vector_file_name_without_path);//создать список файлов директории
void CreateDirectoryList(const std::string &path,std::vector<std::string> &vector_directory_name);//создать список каталогов директории
void MakeDirectory(const std::string &directory_name);//создать каталог
long double GetSecondCounter(void);//получить прошедшее время в секундах
void PauseInMs(size_t ms);//пауза в миллисекундах
std::string GetCurrentPath(void);//получить текущую директорию
std::string GetPathDivider(void);//получить разделитель каталого
void PutMessage(const std::string &message);//вывести сообщение
#endif