Is it possible to open txt files in c++ on android? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it possible to open txt files in c++ on android?

Title. I tried various ways to work with text documents on my android device, but nothing seems to be working.

18th Feb 2017, 4:23 PM
Nedas Valnetinovičius
Nedas Valnetinovičius - avatar
2 Answers
0
You want to edit C++ files in a TXT-Editor? Android's Developers have purposely disabled editing of files except .txt's: as it would be used to 'hack' the OS. Buuuut... you can use an Archiver tool to change the file extension. *.txt --> *.cpp
18th Feb 2017, 4:34 PM
ghostwalker13
ghostwalker13 - avatar
0
That's not it. I want to open them using std::ifstream command, is there any way to do that?
18th Feb 2017, 5:39 PM
Nedas Valnetinovičius
Nedas Valnetinovičius - avatar