Read and Write data from text file
Is it possible to read and write data from a text file for example use the text files data ( exampletext ) and store it as a variable Player->Name = file; out put = hello, exampletext if that is understandable :/
(comments are locked)
|
Just want to add that the WriteFlags refered from FFileHelper::SaveStringToFile can be found(i think/hope) in FileManager.h :
The default behaviour is rewrite the file with the Fstring. If you want to add Fstring to the same file you will make a call with 0x08 inside the flags. Remember that the new line is LINE_TERMINATOR and you should be ready to go! Hope can be useful, being almost a total newbie to Unreal c++ this could saved me some time :)
(comments are locked)
|
Your answer
Follow this question
Once you sign in you will be able to subscribe for any updates here