Questions tagged as 'arquivo'

2
answers

What is position in SQLServer?

I have a question. I received the layout of a table which consists of: Nome do campo | Tamanho | Posição | Tipo The Position contains: De | Até And one of the fields is: Histórico ( no caso da Posição ): 35 | 104 What exactly is...
asked by 15.10.2015 / 17:12
3
answers

Read saved objects in .dat file

How do I get the read function to read arquivo.dat every time I start the program? I'm writing objects to a file, and I need to read them every time the program starts. Problem: I'm having segmentation failure issues when trying to rea...
asked by 25.12.2014 / 17:31
1
answer

Function php () does not take line by line

I have a system that is going through a problem, one hour it reads line by line from one file, but when I send another file of the same type and with the same content (only a few different things) it considers it as a line. I am using the fil...
asked by 03.11.2015 / 20:09
3
answers

How the end-of-file loop is made

Type, I know that the function feof () returns 0 if it did not find an end of file and that it requires 1 parameter, which is the variable_pile_pile_FILE pointer, so far so good. If I do the while so it works like neither of the below but I d...
asked by 19.06.2015 / 16:48
2
answers

How to find, check and change file?

I have a doubt that I am new to python. I have a file for example: bla bla bla bla bla bla 5 bla bla bla 846:545 energia 3 I intend to read from the teste.txt file the energy information. Of which I want to check the number that is,...
asked by 29.06.2015 / 13:21
1
answer

Write file.txt

I'm having trouble with a code I put together. I can not find the error. My problem is this: I've created a code that generates combinations of numbers and you should save those combinations in a .txt file. However, when I run the code, it...
asked by 03.09.2016 / 20:19
1
answer

How to list the names of the files that are in the directory?

The output of the following method is:    C: \ Users \ User \ Desktop \ files \ filename.jpg How can I get only the filename.jpg in String format? I tried to use FileUtils but as an output I got this: .ELs / G Yos...
asked by 26.02.2016 / 19:01
1
answer

Stopword does not work

Hello, I made the program that is used to do basic text preprocessing for use in text mining tools. It should be something trivial, but I can not see where it might be wrong. ##################################################### ## ## Exemp...
asked by 01.10.2018 / 19:03
3
answers

Copy file with progress

How do I use the function in C # File.Copy(string path); to copy a file by incrementing a value in a ProgressBar ?     
asked by 28.06.2014 / 03:33
1
answer

Search in files in a directory

I have a small application that needs a search engine that can list files that contain a user-entered term. The first feature of the program, which is responsible for reporting how many times a string appears within a .txt file, is alr...
asked by 19.06.2015 / 14:59