Questions tagged as 'arquivo'

1
answer

new File () does not create the file

When creating a program that generates an input file to another program, the problem occurs that the file I try to create with new File() is not created. Follow the code: import java.io.File; import java.io.FileWriter; import java.io...
asked by 15.11.2014 / 18:48
1
answer

Problems with .jar generated with jxl library [duplicate]

Hello! I am having problem in the generated .jar file of a project. In this project is included a library, called jxl responsible for reading and writing .xls files, but it is returning the following error when clicking a button that calls a t...
asked by 18.11.2018 / 17:27
1
answer

Python - Strings and files

I'm starting to learn Python files. What suggestions would you give to improve the code and make it prettier or smaller? """ A ACME Inc., uma empresa de 500 funcionários, está tendo problemas de espaço em disco no seu servidor de arquivos. Para...
asked by 19.09.2018 / 23:56
1
answer

java Import video file (.mp4)

I need to import a video (.mp4) file and store it in a BufferedImage [], so I can work with each frame as if it were an image. my code (the part with (???) is where I did not conceive): public class Main { public static void main(String[] arg...
asked by 20.08.2018 / 15:51
1
answer

Write to files in C

Hey guys. I need to do a job in C that I have to create files with numeric sequences and create another file with the intersection of these numbers and such ... But I can not write these (int) in the file, type, it has to be 10 values , but at t...
asked by 14.01.2018 / 22:04
1
answer

Problem with fscanf

Good evening! I have a question on my second fscanf from PATIENTS, because I wanted to save the date that appears in the text file (the day in a-> h.d_day, the month in a-> h.d_mes and the year in a-> h.d_ano), but random numbers are appe...
asked by 08.08.2017 / 00:13
1
answer

Download files automatically with JavaScript

I'm creating a Userscript to back up the various ads I have on a site, first reading the list with the ID of each ad and entering a loop to read the ad for each product in the site, it saves the title, price, description etc in a text file (with...
asked by 02.07.2018 / 21:35
1
answer

How to read a variable of type unsigned char by the function fscanf?

I am reading an array from a file where each element of this array ranges from 0 to 255. For this reason I have stored the values inside an array of type unsigned char, but I am encountering some problems with respect to which specifier to use....
asked by 18.04.2017 / 15:44
1
answer

How to read multiple TXT files and save strings in an NSArray?

Scenario explanation: Read the contents of several .txt extension files and save the strings of each file separately to a NSArray , in this case, in each array index. Obstacle: - There are more than 60 different files,...
asked by 24.09.2014 / 18:56
2
answers

Structs not fed

Dear C programmers, good evening, I ask them for help in the following case: I want to feed an array of structs to each interaction in a row of a file, the problem is that although I can read the file line, I can not send the data to the stru...
asked by 15.11.2017 / 02:38