adjusted folder of examples.

This commit is contained in:
2023-07-21 11:11:24 +08:00
parent d76f259125
commit 34cc1c1b46
16 changed files with 79 additions and 46 deletions

View File

@@ -0,0 +1,16 @@
#include<hgl/filesystem/Filename.h>
#include<iostream>
using namespace std;
using namespace hgl;
using namespace hgl::filesystem;
void main()
{
constexpr os_char incorrect_filename[]=OS_TEXT("c:/win95\\\\ms-dos");
os_out<<OS_TEXT("fix filename test that they have a few problems.\n\n");
os_out<<OS_TEXT("origin filename: ")<<incorrect_filename<<endl;
os_out<<OS_TEXT(" fixed filename: ")<<FixFilename(incorrect_filename).c_str()<<endl;
}