Questions tagged as 'arquivo'

1
answer

How to open a bundled executable in the project?

I'm running a program as follows: Runtime.getRuntime().exec("C:\meuprograma.exe"); In which it works normally. But I would like to package the files (the executable and some more) inside my project so the user does not have to be manipulati...
asked by 23.01.2015 / 17:15
1
answer

Add attributes in file creation

I'm developing a Java application that creates files in the user's directory. So when I created the files I needed to add some attributes in their properties, so I can identify where they originated this file if the operating system user copie...
asked by 24.09.2014 / 15:23
1
answer

Is it possible to create and remove .properties files from Android, by the application itself?

Is it possible to create and remove .properties files from Android , by the application itself? Ex: after creating an annotation it creates a .properties file with the name of that annotation!     
asked by 18.06.2014 / 19:24
0
answers

Attempting to read a .txt file

Well I'm trying to read from a .txt file, but when I try to read and by in variables it's giving me the whole wrong info, now wrong places. I've tried using Debug's tool but I can not figure out why ... Here is the .txt file: 15 29 1;10...
asked by 01.11.2018 / 22:31
0
answers

How to do a Json_Decode of a file in json format

Hello, I'm currently storing json data in a file using fopen. $json = fopen("$root/apil/Controllers/json/" . $this->getX_id() . ".json", "w+"); $customers_results = $customers->fetchAll(PDO::FETCH_OBJ); foreach ($c...
asked by 25.09.2018 / 16:47
0
answers

Make Direct Link with page information

A few days ago Blogger changed their video sharing system. Before they provided 1 link like this link Now to have the video they have put a button with the option to download the video. clicking on the link that address is provided...
asked by 13.11.2018 / 14:08
1
answer

How to remove a struct stored in file in c?

I do not think I explained well in the title I have a calendar code where I can add contact, edit, list and get stored in an agenda.txt file I'm just having trouble removing a contact that was previously added Code: #include <stdli...
asked by 07.06.2018 / 17:32
0
answers

Functions in File C

I'm doing a job that lists players and performs some functions using File in language C and I need the program to list in option 2 the player by name and in 3 by the shirt number. My code so far: #include <stdio.h> #include <...
asked by 28.06.2018 / 02:24
1
answer

Reading txt in Assembly i8086

I have the following code to read txt file: ; um programa que demonstra a criação de um arquivo e a ; leitura do mesmo .model small .stack .code start: mov ax,@data ; endereço de base do segmento de dados mov ds,ax ; é colocad...
asked by 01.06.2018 / 04:16
0
answers

Why does an error occur at the end of a file that ends with whitespace in a while loop, using the read operator?

I want to execute a read function from a "material" vector (I created this type with "struct"). The reading will be executed from a file. std::vector<material> material_read(std::string s) { std::ifstream data(s); dados.exception...
asked by 15.05.2018 / 16:31