mirror of
https://git.tesses.org/tesses50/tessesframework.git
synced 2026-06-01 18:15:31 +00:00
Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
This commit is contained in:
@@ -3,14 +3,15 @@
|
||||
#include <string>
|
||||
using namespace Tesses::Framework::Filesystem;
|
||||
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, char **argv) {
|
||||
VFSPath path("C:/home/user/file");
|
||||
VFSPath path2("D:/home/user/file");
|
||||
VFSPath path3("C:/home/user");
|
||||
std::cout << path.MakeRelative(path2).ToString() << std::endl;
|
||||
|
||||
std::cout << (path3 / path.MakeRelative(path2) / "John").CollapseRelativeParents().ToString() << std::endl;
|
||||
std::cout << (path3 / path.MakeRelative(path2) / "John")
|
||||
.CollapseRelativeParents()
|
||||
.ToString()
|
||||
<< std::endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user