Questions tagged as 'archivo'

1
answer

Upload files and folders in Moodle

I need to upload files and folders within a Moodle course, these files come from a zip. I have been searching and I have found how to upload files, I have tried it and I am able to upload files correctly in the database and in the file repositor...
asked by 08.09.2016 / 10:06
0
answers

Help linked list overwrites string [closed]

The problem arises when I upload the data from a binary file to memory. I do not understand why the values of the string (Desc.) Of each product are overwritten (copying the description of the last product to all the previous ones) but the numer...
asked by 23.04.2017 / 00:43
1
answer

Using close in Python

Why is it necessary to close ( close ) a file ( file ) open ( open ) in Python? What would happen if you left the file open?     
asked by 17.02.2018 / 23:38
1
answer

Delete Row according to text in a Java Txt

Good I have a code like this: String ruta = "archivo.txt"; File archivo = new File(ruta); String texto; String[] a; String pre= "texto a encontrar"; FileReader f = new FileReader(archivo); FileWriter f1 = new FileWriter(archivo); Buffere...
asked by 11.05.2018 / 13:28
2
answers

Extract integers from a JAVA string

I have this string ( LIXA ABIMERHI JUAN JOSE,DISEÑO DE INTERFACES,90,88,81,90 ) and they are asking me: Read the data by lines using the split method of the class String separate the fields. Convert the 4 strings of gra...
asked by 24.11.2017 / 15:21
2
answers

Synchronize threads in Java

I have an exercise of threads to record and read a text file in Java, but what I do not get is that the threads are synchronized. In the way I have it, the threads interfere with each other, and at the time of writing in the file the thread for...
asked by 11.11.2017 / 15:04
2
answers

Type of data to receive file in Asp.net (C #) sent from JavaScript

I have a page made in HTML and JavaScript , in this I have a form with several inputs among them is a input file , and I send them to server through Ajax and JS . On the server side I receive the data of inputs , bu...
asked by 04.01.2017 / 18:18
2
answers

How to insert "ngx-input-file" with "formControlName"?

With the library ngx-input-file I insert a field of type files for several images, this works correctly, the problem is when I add the formControlName tag, the option to insert images disappears. My HTML : <input-file fileAccept...
asked by 06.10.2018 / 21:52
2
answers

Write doubles with fwrite in c

I'm going to ask a question maybe a newbie. I am using the fwrite function in C to write double data to a text file, but when I open the file I do not read numbers but a series of symbols and when I use binary files for writing o...
asked by 17.04.2018 / 00:56
1
answer

Write to file using hash function and cubes

I'm doing a function that reads a series of elements from a binary file and I have to pass them to another file that organizes them into cubes using the hash dispersion method. Here's the function: int creaHash(char *fichEntrada,char *fichHash...
asked by 23.05.2018 / 23:45