Questions tagged as 'arquivo'

1
answer

Saving stream to a file

I'm having the following problem, when saving the struct, to position 1, ends up losing street, city and state value. I do not understand why this happens if in the following positions it allocates in a normal way, and the code to do such thin...
asked by 26.11.2014 / 14:42
2
answers

Save images to repository and retrieve it through Path with C # [closed]

How to save images to repository and retrieve it through a Path with Asp.Net MVC? Searching in some places, I noticed that saving images directly to the database can have a significant loss of performance in the application.     
asked by 12.02.2014 / 15:01
2
answers

How to pass CSV file data to an array in Java? [duplicate]

Ihavea.CSVfilewithseveralnumbersintwocolumns(1032,54832).Ineedtogetthesenumbersandpassthemtoavector.HowdoIdothis?ImadeacodetoimportthefileandIcandisplaythenumbers,butatthetimeofpassingthevaluestothevector,I'mhavingproblems.BelowiswhatIdid(Thi...
asked by 19.11.2018 / 00:33
1
answer

Read a txt file and store the 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 you can read the value of each column and store it in a list, for example: Ler "1" Armazenar o "1" numa lis...
asked by 12.04.2018 / 17:41
2
answers

How to open .GDB files [closed]

I am a list of clients and work order, in backup in .GDB, how can I open such a file.     
asked by 23.03.2018 / 19:11
2
answers

Passing $ _FILES in a registration function

Well, I'm thinking of a way to register items in a database, though, I thought:    "What if the item has an image?" So I wrote a script to send this image, however, I do not know if it is correct or not to pass $_FILES as a paramet...
asked by 03.08.2017 / 14:27
1
answer

Writing a line in text file without using repeat instruction, is it possible?

I need to write a text file from a DataSet in C #, so something like: string[] lines = {"First line", "Second line", "Third Line"} using(StreamWriter outputFile = new StreamWriter(docPath)){ foreach(string line in lines){ outputFile....
asked by 09.07.2018 / 04:14
1
answer

renaming file with posix c

I have a file called TempFile.txt I made the following script in c to rename file receiving the name of the file to be renamed and the new name, but it is returning this error: Error renaming file: Bad address         Output new name: The...
asked by 07.03.2018 / 22:42
1
answer

How to compare string in text file with user imput and do validation?

At the end of this code, I'm trying to read the names of some countries and compare them with user input, but I'm not getting results. He keeps repeating. If it does, the program has to follow the flow normally. void cadastrarDadosAvioes(Aviao...
asked by 13.11.2018 / 20:53
1
answer

File Upload [closed]

I am new to php and database and have never uploaded a file. I have already read and advise only to save the path of a file in the database and not the file itself. They advised me to see in Portugal-to-Schedule and in PHP but I did not realize...
asked by 12.07.2015 / 21:25