Top "Io" questions

In computing, input/output, or I/O, refers to the communication between an information processing system (such as a computer), and the outside world, possibly a human, or another information processing system.

How to redirect output to a file and stdout

In bash, calling foo would display any output from that command on the stdout. Calling foo > output would redirect …

linux bash file-io io stdout
StringIO in Python3

I am using Python 3.2.1 and I can't import the StringIO module. I use io.StringIO and it works, but I …

python python-3.x io
Save and load MemoryStream to/from a file

I am serializing an structure into a MemoryStream and I want to save and load the serialized structure. So, How …

c# file io stream memorystream
Get an OutputStream into a String

What's the best way to pipe the output from an java.io.OutputStream to a String in Java? Say I …

java string io stream
byte[] to file in Java

With Java: I have a byte[] that represents a file. How do I write this to a file (ie. C:\…

java arrays file io inputstream
Why is access to the path denied?

I am having a problem where I am trying to delete my file but I get an exception. if (result == "…

c# asp.net io unauthorizedaccessexcepti
How to open a file using the open with statement

I'm looking at how to do file input and output in Python. I've written the following code to read a …

python file python-3.x file-io io
Scanner is skipping nextLine() after using next() or nextFoo()?

I am using the Scanner methods nextInt() and nextLine() for reading input. It looks like this: System.out.println("Enter …

java io java.util.scanner
How to read integer value from the standard input in Java

What class can I use for reading an integer variable in Java?

java io
Calculate the execution time of a method

Possible Duplicate: How do I measure how long a function is running? I have an I/O time-taking method which …

c# .net timer io stopwatch