Questions tagged as 'arquivo'

0
answers

Read a file from a graph and represent it in adjacency matrix format

I need to read a file that contains information from a directed graph and build an adjacency matrix of it. The array must contain 1 in the position that there is a loop and 0 in the one that does not exist. The file is in the DIMACS standards an...
asked by 17.11.2018 / 20:39
0
answers

Problem reading blank line in a file in C

I'm having the problem that when the last line of my file is blank the program can not read and when it goes off normally. Function that stores the data in the file void exportCategoria_txt(Strc_Categoria Cat) { FILE * file = fopen("a...
asked by 20.11.2018 / 23:19
1
answer

ignore existing lines in the bank, in php file import

I have the following line of code that performs the import of the txt file. <?php function Inserir($itens, Pdo $pdo){ $sts = $pdo->prepare("INSERT INTO dados(loja, cod_prod, cod_acesso, desc_prod, estoq_disp, data, estoq_valida...
asked by 23.10.2018 / 16:43
1
answer

Remove data from a C ++ file

I'm making a database for storing rock band names. But I'm not able to implement strip removal separately. Can anyone help? Follow the code. #include <iostream> #include <fstream> using namespace std; void banda(){ ifstream a...
asked by 18.10.2018 / 23:47
0
answers

Error trying to upload files - mobile page

I have the following problem, I have two input's the first allows you to attach multiple files, and the second only one. When I attach several images, for example, in the first input and then try to attach another image in the second input, the...
asked by 06.10.2018 / 17:13
1
answer

How to copy a file from the network to my computer using C #?

I have a desktop application that needs to copy media files from a server, videos and images. The server is on the same network as the terminal on which the program is installed. The problem is that this terminal will not be logged in with usern...
asked by 24.05.2016 / 21:44
0
answers

Doubt program that copies from one file to another in C with functions

I have to do a job in C which makes copying from one file to another at launch time (on linux using argc and argv). I'm not very accustomed to file manipulation, but here's the code and it's not working, what can I do to make it work? I did thes...
asked by 19.09.2018 / 21:08
0
answers

Corrupted file when saving to bd - PHP

I need help. I have a system that needs to upload a file to bd. The system stores the image bin in the database instead of creating a file reference on the server. This bin is corrupted, the image does not open. Follow the code: $anexo =...
asked by 27.08.2018 / 18:54
1
answer

Monitor if files have been inserted into a specific folder

Good morning, friends, I would like an opinion or suggestion of you in the second situation: On one of the company's clients who work the responsibility for the financial sector daily downloads a file from the bank's website. After downloa...
asked by 27.08.2018 / 16:09
1
answer

File Function in C ++

Hello, I have a problem using the file function, I need to make a program that registers the place and the name of the person on a bus, but the problem is that every time I close the program and open the name and place again the person chose is...
asked by 17.08.2018 / 22:48