There are some system processing programs.
更多...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <limits.h>
|
| void | DispPro (const double pro, const int step) |
| | This function print a progress bar on one line of standard output. 更多...
|
| |
| int | CreateDir (const char *pPath) |
| | This is a function that recursively creates folders. 更多...
|
| |
There are some system processing programs.
◆ CreateDir()
| int CreateDir |
( |
const char * |
pPath | ) |
|
This is a function that recursively creates folders.
- 参数
-
| [in] | pPath | Pointer to the folder Path. |
- 返回
- Folder Creation Status.
- 返回值
-
| -1 | The path folder already exists and is readable. |
| 0 | Readable path folders are created recursively. |
| 1 | The path folder is not created properly. |
◆ DispPro()
| void DispPro |
( |
const double |
pro, |
|
|
const int |
step |
|
) |
| |
This function print a progress bar on one line of standard output.
- 参数
-
| [in] | pro | Numerator of percent that the process has completed. |
| [in] | step | Number of time steps. |