Questions tagged as 'archivo'

1
answer

How to create a txt in android sdk 22 lolipop that is accessible from file explorer

My program allows me to save and retrieve a document, but it is saved in a directory that can only be accessed if I have the phone rooted. How do I store it in an accessible directory such as Documents? I want to implement it for phones wi...
asked by 05.04.2018 / 16:47
1
answer

What happens if I open a file and I do not close it?

I am new to programming in ansi C. I am currently learning to manipulate files. My question is if I open a file using the function fopen, and I finish the program without using fclose, the file can be damaged or is there a pending process on...
asked by 01.06.2018 / 02:09
1
answer

How to include a txt file, already created, in your Android project

I have been reviewing how to work with files on Android and I have done some practices on how to create a file, write about it, read, etc. But, what if the file I have already created ?, Imagine that I want to insert in my application a file...
asked by 02.05.2018 / 18:44
2
answers

Qt handling of QFile files

I'm starting in QtCreator and I'm trying to manage files. I want to save a int in a file, and when I press a button it shows me that number in QSpinBox but I do not know how to return the type character int . My test code:...
asked by 11.06.2017 / 07:41
1
answer

Corrupt text file

Good afternoon, I'm doing a practice for the university, the program consists of the creation of a loop in which a child process, created by fork () sends a pid to the father through a pipe and then dies, The parent then enters the pid and a lin...
asked by 18.01.2017 / 19:21
1
answer

Reading and Writing binary file of 7 GBytes

How can I read and write a binary file of more than 7 GBytes? The assign (f, 'xx' and the reset (f) work but when I am going to start the file path, the function eof (f) does not work properly, I understand that it is because the TFileRec str...
asked by 28.11.2018 / 22:46
1
answer

How to create a folder with the user's name when uploading a file (IMAGE)? PHP

Good on this occasion I want to make the user of my website login with the option of creating a photo album, and I can get the photo that the user uploads through the form with these codes: HTML CODE: <form action="album.php" enc...
asked by 26.11.2018 / 21:02
1
answer

mkdirs () do not create folders on my sd card

Good morning programmers ("the magicians"). I'm going to the following: I need to create files on the SD card, whenever I try to create it ends up creating it in the memory of the phone and not in the external SD. My code is as follows: String...
asked by 09.03.2018 / 13:06
1
answer

Check that the data of a CSV file changes and print the error - Python

I have to make a file in Python that controls a file ". csv" , and if any parameter changes, indicate what value has changed, and if it matches the expected output. ELEMENTO1,1,1,0,-1,0,-1 When you change a column, it would be: ELEMENTO1...
asked by 13.11.2016 / 12:58
1
answer

Error saving document in SD

I am creating an app and I want to save a report with pdf. From what I have seen the itext library is a good choice. I have the problem when creating the document because it returns an error: open failed: EROFS (Read-only file system) T...
asked by 16.03.2018 / 16:07