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.

Easy way to write contents of a Java InputStream to an OutputStream

I was surprised to find today that I couldn't track down any simple way to write the contents of an …

java io stream
console.writeline and System.out.println

What exactly is the technical difference between console.writeline and System.out.println? I know that System.out.println writes …

java io
How to use readline() method in Java?

I am beginner in Java, and I was reading the topic of giving values to variables through the readLine() method …

java io readline
Python write to CSV line by line

I have data which is being accessed via http request and is sent back by the server in a comma …

python string file csv io
Parsing CSV files in C#, with header

Is there a default/official/recommended way to parse CSV files in C#? I don't want to roll my own …

c# csv file-io io header
Confused by python file mode "w+"

From the doc, Modes 'r+', 'w+' and 'a+' open the file for updating (note that 'w+' …

python file io
ValueError : I/O operation on closed file

import csv with open('v.csv', 'w') as csvfile: cwriter = csv.writer(csvfile, delimiter=' ', quotechar='|', quoting=…

python csv file-io io
How to Find And Replace Text In A File With C#

My code so far StreamReader reading = File.OpenText("test.txt"); string str; while ((str = reading.ReadLine())!=null) { if (str.Contains("…

c# .net io streamreader file-handling
cout is not a member of std

I'm practicing using mulitple files and header files etc. So I have this project which takes two numbers and then …

c++ io std member cout
How to read a line from the console in C?

What is the simplest way to read a full line in a C console program The text entered might have …

c io console stdin