Questions tagged as 'archivo'

1
answer

Run java jar, does not load project files

I have a project in java, in which I open a pdf file with an option, when I run it from IntelliJ, it uploads the file without problems, but at the time of creating the .jar it does not load it and it tells me that it does not exist the file. The...
asked by 27.05.2018 / 04:37
1
answer

Modify a record of a structure in a file in C

I practically have to modify the field .baja of the structure of Cliente (this if it is modified correctly) and it turns out that all the other fields are also modified but with junk content. The idea is that they contain the same...
asked by 20.06.2018 / 01:27
1
answer

PHP How to get the name of a variable file?

I am trying to import an excel book in PHP but the name of this file is changed every day. $nombreArchivo="/Carpeta/archivovariable.xlsx" Is there any code to add in the path such as "%%" or "*" so that the file is imported without importin...
asked by 30.01.2018 / 23:40
1
answer

Paginate in java ee jsf from data or files entered by the user

The specific query is: we are using JSF with Framework Primefaces It turns out that we need to display on the screen Paginated Data We have a list of objects and each object has a TITLE and CONTENT, that we owe show in some component ONE object...
asked by 05.09.2017 / 01:35
1
answer

Word order in C language [closed]

I have to carry out a program that allows me to correct badly worded words that are inside a .txt file Example: Wrongly worded word in the .txt file: "hloa" Word after being corrected: "hello" I need some kind of guide because I do n...
asked by 18.03.2017 / 22:02
0
answers

Writing, reading, searching and modifying the text file, classes c ++

I've been a bit stuck in this, file management or file synchrony with the program, I need you to give me a hand and illustrate me about this. In the class users as you will see I write in a text file (" users.txt ") What I am looking for w...
asked by 10.01.2017 / 09:11
1
answer

Save string in a txt file

This is the code that I am implementing, I have also tried it in other ways, however in all the occasions that I execute it the application closes immediately fun writeToFile() { val text = "Prueba texto" File("output.t...
asked by 08.03.2018 / 15:31
1
answer

Disorder words from a txt

I have a program made in JAVA that shows in console a txt file that contains a list of words sorted alphabetically: try{ FileReader fr = new FileReader("archivo.txt"); BufferedReader br = new BufferedReader(fr); String [] file = {"arch...
asked by 06.06.2017 / 08:44
1
answer

Read a .txt file and match it to a string

What I did in Linux to load the program to the console, only with a command in the terminal: ./s < EjemplosSudoku.txt in windows is not possible, and I assume that you have to load it from the same code, calling the .txt file. Could s...
asked by 04.06.2017 / 15:45
1
answer

Insert and Concatenate Text in a C ++ file

I want to insert multiple lines in a .txt file and read the entire .txt file to validate the inserts, the problem is that it always shows me only one line. I insert text into a function and I send it to call many times. This is my function to...
asked by 05.10.2018 / 00:20