Questions tagged as 'arquivo'

0
answers

Write to information file in C

So, folks, I'm doing a job that essentially consists of recording information about movies and series in two files (one for each one). In the code section movies.c I have all the functions used to manipulate information about movies (which...
asked by 30.06.2017 / 01:44
1
answer

Is it possible to generate log files from a Python file that has been made executable? [closed]

Hello, I created the Python code executable below with the module pyinstaller . import urllib import urllib2 import webbrowser import re import popular4 import logging from datetime import datetime agora = datetime.now() logging.basicCon...
asked by 26.06.2017 / 01:03
1
answer

Open files that will be shared between various functions, inside or outside the functions?

Next, I'm doing a program that I'm going to split between the function module and the interface, and I need to use files in that project (and I can not use classes), so I need to use those files between several functions, they will write in them...
asked by 25.06.2017 / 17:46
1
answer

Copying the contents of a file to vectors in c

Folks, I'm trying to copy a file that has multiple products, one line with the name and the following with the code, price, and quantity. I tried to pass each line to a vector, but it is not working. When I print, it is not correct. fp = fope...
asked by 23.06.2017 / 14:51
0
answers

How to create a function to read line by line from text file?

How to create a function to open a text file, read a line and out of function created, handle that line? So following the treatment, re-run the function created to read the next line in the text file and so on?     
asked by 21.06.2017 / 02:34
0
answers

Laravel - plugin to view existing files and folders in Storage-app-public

I need a help, does anyone know of a plugin to display in real time the folders and files in Storage > > > > public in Laravel? I found this plugin that does what I want: Demo: link But I do not know how to convert scan.php...
asked by 22.06.2017 / 14:33
1
answer

Compare integer and pointer

Well, I have a question, I'm trying to copy a line to a file but I get an error that says I can not compare an integer with a pointer, can anyone help me? The error is in line ch = getc(file1); and while(ch != EOF) #include <s...
asked by 14.06.2017 / 21:00
0
answers

how to force the download of a file in php and delete it immediately

I made a file with the fopen () function; and it needs to be downloaded to the user's computer and deleted immediately, and the file name must be in a variable, as the file name will vary depending on the user.     
asked by 27.05.2017 / 22:18
1
answer

Delete BD and Folder image

I am trying to create a script that deletes the image from the database and the folder, but the problem is that it is only deleting from the DB and not from the folder. Tabela equipes id, nome, foto Here is the PHP I'm using: $id = $_GET...
asked by 12.05.2017 / 14:40
0
answers

Search using Thread

I am looking for files using threads, the code I developed looks for the correct file, but it happens that it does not finish the execution when it finds, that is, if it does not find it, it continues to execute. import java.io.File; import jav...
asked by 04.05.2017 / 16:41