Questions tagged as 'arquivo'

0
answers

Reading and writing binary file in iteration

I'm doing a college job that requires us to create a system that writes various structures read from the standard output into a binary file, leading to the need (?) of iteration usage. Unlike the ease we have in text files, I'm having trouble...
asked by 08.01.2018 / 23:26
2
answers

Input is not making sense

void cadastroturma () { char turma[30],caminho[100]; printf ("Diga o nome da turma a ser cadastrado:\n"); scanf ("%[^\n]", &turma);//Já tentei com gets e fgets getchar();//Já tentei sem esse getchar printf ("\nAgora o caminho onde quer gravar...
asked by 11.12.2017 / 12:01
1
answer

Problems with permission

I have a server where 5 sites are hosted. One of them has a system where you download a file that is in the hosting of another site, but of a same server. The file is there, but at the time of download an error appears. If I change the path o...
asked by 01.12.2017 / 19:00
0
answers

List files from a folder on a computer on the network in PHP

I need to search for .pdf files that are distributed on some Windows computers on a network. I would like to, after that save and display this file to the user. It happens that due to storage problems I can not centralize these files on a sin...
asked by 13.12.2017 / 15:08
1
answer

Invalid argument for chmod ()?

I'm trying to get the dimensions of each photo sent, but when I run the file it happens: Error: Warning: chmod(): Invalid argument in C:\Program Files (x86)\EasyPHP- Devserver-17\eds-www\PPI\adm\cadastrar_jogo.php on line 15 Warning:...
asked by 06.12.2017 / 02:10
1
answer

Write objects to file- Java

I have the following code: package p10; import java.io.*; import java.util.*; import myinputs.Ler; public class P10 { public static boolean verificawl (int i) throws ExcecaoWhile { if(i<0||i>7){ throw new ExcecaoWhile("Dentro do...
asked by 06.12.2017 / 00:43
0
answers

Failed to open file after installation of application in C # WPF

I am creating a C # installer using visual studio 2017 installer project in this project there is a user manual it is contained in the root of the project, when I run it both in Debug or Release, Any CPU or x86 it works normal, however whe...
asked by 22.11.2017 / 23:07
1
answer

Include spaces when reading strings in C

Good people I have a C job to do, in which I have to read information from a lot of different txt.com entries. Each string follows the following format: 12345António Manuel Silva Mendes Frankfurt Varsovia 1 The...
asked by 06.12.2017 / 18:31
2
answers

Write and retrieve information in files

How do I write data to a file and then retrieve it? I have an enrollment system. Start a folder in Windows and within it I generate the registrations sequentially. I finish and go home and the next day, I will generate new set of registrati...
asked by 21.07.2015 / 13:53
1
answer

Update a CSV line without having to go through it all C #

Would you like to update a specific line of the CSV file? I have the information of which line I want to add information, I currently have the code that runs through the file and when it arrives on the line I want it updates the line and continu...
asked by 05.10.2017 / 20:47