ZArchive
ZArchive copied to clipboard
Example - Basic read file question
Hi. if somebody could help me I would appreciate it.
#include "zarchive/zarchivereader.h"
int main() { ZArchiveReader* reader = ZArchiveReader::OpenFromFile("Text.zar"); if (!reader) return -1; ZArchiveNodeHandle fileHandle = reader->LookUp("Text.txt"); if (reader->IsFile(fileHandle)) { // Text.txt to string? // Is possivel -> Text.txt to simbolicLink Junction?
CreateJunction(TEXT("C:\\Game"), TEXT("D:\\Game")); //Work Correct.
}
delete reader;
return 0;
}
Sorry, I'm learning c++