Questions tagged as 'io'

0
answers

Is it possible to use the stlport library on an Arduino, with cout?

I'm working on a project with an Arduino where I need to use the Eigen library, so I'm using EigenArduino . However, this library requires a standard library, which is not available on Arduino, by default ; so, as Eigen's maintainer recomm...
asked by 15.02.2016 / 11:08
2
answers

Why am I having problems with 'scanf' in C?

Hello, I'm trying to make a very basic cmd, but I'm having problems ... My code: #include <stdio.h> int main() { char arg[300]; scanf("print '%s'", arg); printf("%s", arg); fgetc(stdin); fgetc(stdin); return...
asked by 31.08.2018 / 23:51
1
answer

Input and output data in Java and data handling

I have a giant list of exercises and I only got these last two to do but I can not get NO. This I / O stop did not enter my head even though I prayed! Make a program that reads a text file, named "input.txt", consisting of integer values an...
asked by 21.09.2015 / 18:48
1
answer

How to delete an entry from a Python file without having to read the whole file?

I have a file with the following entries: Ana Joao Pedro José .... I need to delete the line with the name Pedro, it would be easy for me to read the whole file, save it in a list, delete Pedro and rewrite the file: nomes = open('nomes.tx...
asked by 04.01.2018 / 14:31
2
answers

C # - I / O on the network [closed]

I have a program that does I / O of files (create, edit, save), but I need to put it to do this I / O with files that are in the company network, both reading and writing. My question is: Does my program need file read and write permission, or...
asked by 02.05.2016 / 21:13
1
answer

How to run programs without a specific path

Example: I want to automatically do a search of the program I write, and if you find an ".exe" application it will run it, if it does not find it, send a message saying that the program is not installed on your computer. Process.Start(Progra...
asked by 04.09.2017 / 04:30
0
answers

Why does Linqpad say that a Network directory exists, while .NET does not?

I have a network directory in "\10.88.0.1\rec" . However Directory.Exists returns false while debugging in visual studio. This is strange, since LinqPad returns true . Are there any differences between the linqpad's...
asked by 27.09.2018 / 18:01
1
answer

Problem with list directories with java

I'm trying to list all the files in the C: \ directory of my PC. Smaller directories with 11,000 files are picking up normally, it takes a while, but it's no problem. The problem is when I will list the C: \ files, because it is the root folder...
asked by 15.04.2018 / 02:11
0
answers

How to know when the file was uploaded 100%

I have a functionality of does the following: Loads a video from the user's PC using C # Places the video link in an src of an HTML5 using JQuery The problem: It puts the link and shows the player, but as the video has not yet uplo...
asked by 06.03.2017 / 14:52
1
answer

IndexOutOfBoundsException on reading an InputStream

The following is the code I'm studying: FileInputStream stream = new FileInputStream("/home/rafael/2015.json"); // esse aquivo tem 24 bytes byte[] result = new byte[(int) stream.getChannel().size()]; int offset = 0; int read = 0; while((rea...
asked by 19.12.2015 / 16:47