Most voted "filing-cabinet" questions
A (Brazilian Portuguese) or (European Portuguese) computer file is a resource for storing information, which is available to a computer program and is usually based on some kind of durable storage. A file is durable in the sense that it remains available to programs for use after the running program has been completed.
Learn more…693 questions
Sort by count of
-
0
votes1
answer95
viewsI need help solving this exercise (e.g.: 8 project Uler)!
The question asks that in a number of 1000 digits we find the largest product of 30 adjacent numbers (question link), I know I can do this just by playing a 1000-digit string and checking if 1 to 5…
-
0
votes1
answer1140
viewsEdit Zebra ". lbl" Java printer file
I have a problem that is the following, I have a system where the user will upload a standard label, made in Zebra Designer (ex: etiqueta.lbl), for your products and according to the product that it…
-
0
votes1
answer525
viewsPrinting specific attributes of a python XML file tag
Hello, I’m starting to use the Python language for a survey, and as "activity" I received an XML file from my teacher and I need to "unlock" it, printing tag contents and some attributes specific to…
-
0
votes1
answer198
viewsRemove Columns from a . csv file with Javascript
Below follows my code for reading a file. csv using Nodejs, I would like to know how I can remove the "COMPANY" and "%" columns from the file 'file.csv', thanks in advance to those who contribute.…
-
0
votes1
answer168
viewsProgram in C closing without explanation
I am doing a C program that aims to read a list of purchases stored in a text file and add the total value of the prices of the products. In each line of the file has, the product name, the quantity…
-
0
votes1
answer603
viewsHow to extract information from a 'cnab' file using python?
I need to extract the information from a cnab file (which is a text file), be able to read the file using python.read but I don’t know how to progress. Contents of the file: 39900000…
-
0
votes2
answers267
viewsGet Directory After JAVA Compiled
Beforehand I would like to say that I have already searched in several links indicated here in stackoverflow and other sites as well and I still could not get concrete help (it may be my mistake…
-
0
votes1
answer386
viewsOpen text file in float value list
I need to open some files I have here that are in txt format which is even less common and specific in data processing issues, these files consist of values from 0,000 up to 0,999 and also from…
-
0
votes1
answer328
viewsProgram . created jar does not run!
I made the following program in java to automatically swap a file in a computer directory: public static void main(String[] args) throws IOException { if (!new…
-
0
votes1
answer1020
viewsHow to count elements of a C File?
I have the following problem to solve the college, but so far I have not seen a valid solution... I made the following code up to the time of sending since help request. // // 2.c // IFTM Exercises…
-
0
votes2
answers339
viewsHow to save the result of this code in a list?
I made the following code in python: def exibir_menu(): print('''Escolha uma opção: 1. Cadastrar um aluno 2. Listar alunos matriculados 3. Procurar um aluno ''') def cadastrar(pessoas): nome =…
-
0
votes0
answers20
viewsCakephp 3 Download Large Files
I have the following problem. My Cakephp 3 application stores some BIG files (200mbs), uploaded via FTP. These files are in a folder outside of my project. When you click on the download link, it…
-
0
votes1
answer117
viewsDoubt about reading text files in C
My problem is simple, I created a following file listing some movies: What I want is to literally read what is inside and print on the terminal, I am aware of the existence of functions of reading…
-
0
votes0
answers42
viewsWhat are these error messages that appear in Logcat?
Hello, I am having these messages below, in my Logcat of a Mainactivity of Android Studio. How to interpret and solve them? 01-16 11:27:34.088 15846-15846/? W/Glide: Load failed for…
-
0
votes1
answer875
viewsList directories and PHP files
Hello, I have a PHP code that works well for what was proposed, but I need some adjustments to it. The code in question already lists the directories and the files, but in directories that I have…
-
0
votes1
answer224
viewsHow do I save an array to a . txt file in Java the same way it appears in the console?
I made a code that generates a square matrix N x N with random numbers. So far ok. I made a method to record this matrix in a file .txt, only that the matrix simply comes out with random values,…
-
0
votes1
answer58
viewsDownload pdf Chrome Ios
Hello, I currently performed a workround to address a download problem using javascript (Vue) for IOS Safari and Chrome browsers. So far so good, Safari works 100%, but in Chrome IOS when…
-
0
votes2
answers28
viewsHow to identify the absence of a term in a file using PERL
Hi, I need some help here. I am writing a perl program that will identify certain patterns in a text file using regex. However, when the search term is not present in the text, I need the program to…
-
0
votes0
answers44
viewsDelay when generating txt file and downloading using php
The problem is the following: The application makes a query in the database like size, color, price, etc... This will be placed in the txt file for later use inside the stock collector. The problem…
-
0
votes0
answers42
viewsDuplicate the last line of the file . txt c++
#include <fstream> #include <vector> using namespace std; struct Produto { string nomeProduto,quantidade,marca,preco; }; void carregaProdutos(vector<Produto> &R) { ifstream…
-
0
votes1
answer293
viewsSave data from a txt file to an entire struct or manipulate struct. C
I have a txt file that follows the template below. I want to save the balance as int, but with fgets I can’t get it. I’m wanting to save as int, because after the data is taken the program sorts…
-
0
votes0
answers33
viewsWhat is the best way to save multiple data types of a struct {} in a text file?
I need to create a program that registers a user and stores their respective data in a text file. It happens to be various data (Name, CPF, Phone, Address, email, etc.). Then I created a struct full…
-
0
votes0
answers24
viewsData is not recorded in the files in c
In this exercise I have to create a register of cars in two files. In one file I have to register all the cars, in the other I have to register only the sold ones, but only the files are created but…
-
0
votes1
answer76
viewsHow to print lines that have a certain word in python?
I’m taking a test and she has this question : "Make a program that receives sentences and insert them into a new file called string.txt. Next the program should read the file and print only the…
-
0
votes1
answer26
viewsDoubt - Php with file iput
Good afternoon, I have a form in which an image is uploaded, when it is uploaded I receive the photo as array below, in php it creates a temporary file in the case tmp_name. I need to show the photo…
-
0
votes1
answer56
viewsHow to pass fstream variable to another function?
I am trying to pass a binary file that is already open to a function. However, I get the following error: error: use of Deleted Function. Code: void abreBin(){ fstream arq_bin("registro.bin",…
-
0
votes1
answer86
viewsHow do I lower a csv file of 3 GB, to be able to import in pandas in google colab?
In the colab a mistake: "Session failed after using all available RAM. If you have interest in accessing execution environments with more RAM, check out Colab Pro." I wanted to decrease the csv file…
-
0
votes1
answer39
viewsWrite class data in file . dat, and at each use check if the information exists
Good night, you guys. I’m writing a code for a university project. However, I’m having trouble manipulating the file in C++. I created a class called Stok and the amount of objects to be created are…
-
0
votes1
answer33
viewsProblems in C file creation
Good night! I am trying to create a txt file from a client list, for this I created a looping in order to store 2 clients and I hope that the created file stores this data in txt, however it is only…
-
0
votes0
answers24
viewsGet specific value from a file
Hello, how are you? I have the following file format: username=teste1; status=ONLINE; username=teste2; status=ONLINE; username=teste3; status=OFFLINE; Where one of the lines represents the user name…
-
0
votes0
answers17
viewsService of synchronizing images
I’m working on a project that synchronizes a folder, which contains several images (an absurd amount),. How it works ? The script sends the image data, its name and the relative path to the…
mysql filing-cabinet sql-update asynchronous updatingasked 3 years, 4 months ago William Cardoso 17 -
-1
votes2
answers4499
viewsSave images in repository and recover it through a Path with C#
How to save images in repository and recover it through a Path with Asp.Net MVC? Searching in some places, I found that saving images directly in the database may have a significant loss of…
-
-1
votes1
answer501
viewsHow to read multiple TXT files and save the strings in a Nsarray?
Explanation of the scenario: Read the contents of various extension files .txt and save the strings of each file separately in one NSArray, in this case, in each index of the array. Obstacle: -…
-
-1
votes1
answer340
viewsnew File() does not create the file
When creating a program that generates an input file for another program, the problem occurs that the file I try to create by new File() is not created. Follows the code: import java.io.File; import…
-
-1
votes1
answer896
viewsOpening and reading giant C files
How can I open a file for reading in C language, above 100 MB? With this code placed below, I can read a file with more than 18,000 lines, but what I really need is to read a file with approximately…
-
-1
votes1
answer142
viewsSaving stream in a file
I have the following problem, saving the struct, the position 1, ends up losing the value of street, city and state. I do not understand why this happens if in the following positions it allocates…
-
-1
votes1
answer74
viewsFile Upload
I am new to php and database and have never uploaded files. I have read and advise only to store the path of a file in the database and not the file itself. I was advised to see in…
-
-1
votes1
answer1088
viewsHow to read a variable of type unsigned char by the fscanf function?
I am reading an array of a file where each element of this matrix varies from 0 to 255. For this reason I have stored the values within an array of unsigned char type, but am finding some problems…
-
-1
votes1
answer493
viewsCopying the contents of a file to vectors in c
Guys, I’m trying to copy a file that has several products, a line with the name and the following with the code, price and quantity. I tried to pass each line to an array, but it’s not working. When…
-
-1
votes3
answers3421
viewsWrite to files without erasing its contents
How can I write to a file without deleting what’s inside it? I’m using the classes below. public void criarArquivos() throws IOException{ /*1 forma*/ FileWriter arqTeste = new…
-
-1
votes1
answer322
viewsWrite to C files
Eai personal. I need to do a work in C that I have to create files with numerical sequences and create another file with the intersection of those numbers and such... However, I can’t write these…
-
-1
votes2
answers1642
viewsHow to open files. GDB
I am a customer list and service order, in the backup at . GDB, how can I open such file.
-
-1
votes1
answer190
viewsRead a txt file and store content in lists
I need to read a large ". txt" file and its contents are in the following format: 1 12 1 13 2 5 2 6 I would like to know if it is possible to read the value of each column and store it in a list,…
-
-1
votes1
answer88
viewsFind the largest number in a text file
I’m trying to make a program that reads a text file and tells me the highest number in it. Here’s what I got from the code: while (sLine != null) { sLine = objReader.ReadLine(); if (sLine != null)…
-
-1
votes1
answer1474
viewsIs it possible to generate log files from a Python file that has been transformed into an executable?
Hello, I create 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…
-
-1
votes1
answer142
viewsAngular 7: How to identify the Encounter of a File?
I have a function that runs when uploading files, I would like to identify the type of this Encounter. I am using the code below. async uploadFile(event) { var document; var reader = new…
-
-1
votes1
answer778
viewsOpen file in C
I wonder how I do to open a file in C (Open even, as if I had double-click), because the way I did, the program says that the file was opened, but it is not actually opened. If the C language can’t…
-
-1
votes2
answers503
viewsPassing $_FILES in a registration function
Well, I’m thinking about a way to register items in a database, but I thought: "and if the item has an image ?" So I wrote a script to send this image, however, I don’t know if it’s correct or not…
-
-1
votes1
answer467
viewsProblem with fscanf
Good night! I have a question in my second fscanf on the part of 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…
-
-1
votes2
answers112
viewsHow to create a file within a directory?
import os def main(): checkDir = str(input('Escoha o diretório do arquivo Python: ')) if os.path.exists(checkDir): print('O diretório existe!') print() nameDir = str(input('Digite o nome do novo…