Questions tagged as 'input-output'

2
answers

Translation of the word flush

I am preparing reference material on functional programming using the OCaml language and would like a good translation into Portuguese of the word flush , commonly found in the description of inbound and outbound operations. More prec...
asked by 14.04.2015 / 21:31
2
answers

What's the difference between using FileInputStream and FileOutputStream or Scanner and PrintStream?

Is there a big difference between using these classes?     
asked by 01.09.2015 / 02:33
2
answers

Why do not all commands work with pipes?

I'm intrigued that kill and some other commands do not work with pipe. For example, I tried cat /tmp/server.pid | kill -9 and it did not work. Looking for some forums in English I found the solution: kill -9 $(cat /tmp/server.pi...
asked by 23.03.2016 / 13:50
1
answer

Copy OutputStream object to a file

I confess that this is the first time I work with Stream's and File in Java . I currently use Spring in my application, so I use a simple stream utility utility and file's called FileCopyUtils (I do not know if it satisfies m...
asked by 03.02.2015 / 17:51
1
answer

Automatic ticket generator

I'm developing the Dijkstra minimum path calculation algorithm using C language, I'm making several solutions to the same problem and then testing which one is most efficient. For this I needed to generate multiple entries, including huge ent...
asked by 20.09.2014 / 19:46
1
answer

Is there any substitute for _outp, removed in Visual C ++ 2015?

I'm migrating a project in MFC from Visual Studio 2010 to 2015. In this process I discovered that _outp, among other commands, have been permanently removed. In the MSDN (_outp, _outpw, _outpd) report that "These functions are deprecat...
asked by 19.06.2016 / 22:29
1
answer

Doubt in C code!

Someone could help me with this issue from my exercise list: Make a program that receives a real number, find and show: a) the whole part of that number; b) the fractional part of that number; c) the rounding of that number. I do n...
asked by 22.03.2018 / 23:36