Questions tagged as 'arquivo'

1
answer

Find phrase within .cs files from a specific folder using C #

I would like to know how I can fetch a phrase within .cs files from a specific folder. You do not need to develop code, just want to know what functions to use and how to use them. I could not find anything on Google.     
asked by 17.06.2015 / 21:15
2
answers

How to Save \ Read threaded list to file?

I'm very new to programming and I'm coding this program for a college job. It is a "pizzeria manager", I need to save \ a linked list (customer list) in a file, so that the data is not lost when the program is closed. But how can I do this...
asked by 02.01.2015 / 01:56
1
answer

C # Opening Files

I would like to know how to open a file in your native program with C# .    Example:   I have a file .xls (worksheet).   When I want to open it,   my system makes a request and opens it in excel. Thank you in advance     
asked by 19.05.2015 / 20:13
2
answers

Read data from files separated by commas in C

I need to read data from an entry in the format:    100, Refrigerator, 180,90,89,1200.00,4, white After some search, I found the strtok function that separates the data between the commas, and the code looks like this: #include <stri...
asked by 02.12.2014 / 05:14
1
answer

The text file does not appear completely in JTextArea

I put it to show the packages, so you can tell me if I'm making the correct use of MVC If I save in txt: [Maria;32] ; [Joao;44] e [Luna,12]' It only shows me Nome: Maria Idade 32 and Nome Joao , the rest it ignores.    C...
asked by 18.12.2017 / 05:42
1
answer

Remove repeated words using python

I have a text file with many words repeated. I need every word in the file to appear only once. import codecs wordList = codecs.open('Arquivo.txt' , 'r') wordList2 = codecs.open('Arquivo2.txt', 'w') for x in range(len(wordList)) : f...
asked by 06.09.2017 / 01:42
1
answer

Problems Reading File in C - comma delimiter

Help kindly. I have the following file line structure: 99933311133,UM NOME QUALQUER,8485885855,UM ENDERECO QUALQUER,84 9992212,S,S The default is: string-comma-string-comma-string-comma-string-comma ... That is, each field is separated b...
asked by 07.11.2017 / 23:22
1
answer

Binary file storage

In the program, I need to implement a structure that represents a student (name, age, and enrollment). Using this structure, I have to write a program that reads the data of 5 students and stores them in a binary file. Implemented the structu...
asked by 22.06.2017 / 19:58
1
answer

How to remove or clear value from the input file?

Hi stackoverflow folks. Is it possible to remove or clear value from the input file? I also saw another example of resetting or removing all input file files using: document.getElementById("seu_id_do_input").value = ""; What is the be...
asked by 29.11.2016 / 04:48
2
answers

Doubt about PHP command to write inside another .php file

I'm encountering a problem in the following code: <?php $id = $_POST['id']; $titulo = $_POST['titulo']; $imagem = $_POST['imagem']; $coment = $_POST['coment']; $finalcoment = '<div id="triplox"><a name="index-' . $id . '"><...
asked by 08.10.2016 / 16:31