Top "Iostream" questions

The C++ iostream library is an object-oriented library that provides input and output functionality using streams.

Colored output in C++

Is there a way to print colored output using iostream and Xcode? I'd like to be able to, for example, …

c++ xcode macos iostream
ifstream: check if opened successfully

A colleague just told me that this code: std::ifstream stream(filename.c_str()); if (!stream) { throw std::runtime_error(".."); } …

c++ iostream
Difference between ios::app and ios::ate

Possible Duplicate: C++ Filehandling: Difference between ios:app and ios:ate? What is the difference between these two file opening …

c++ iostream
DataContractSerializer - how can I output the xml to a string (as opposed to a file)

I had a quick question regarding the datacontractserializer. Maybe it's more of a stream question. I found a piece of …

c# xml-serialization stream iostream datacontractserializer
Find all a substring's occurrences and locations

I'm writing a program to parse some data saved as text files. What I am trying to do is find …

c++ iostream stdio
Difference between iostream and iostream.h

What is the difference between iostream and iostream.h?

c++ iostream header-files
Is it possible to read from a url into a System.IO.Stream object?

I am attempting to read from a url into a System.IO.Stream object. I tried to use Dim stream …

.net vb.net io iostream
How to print __int128 in g++?

I am using the GCC built-in type __int128 for a few things in my C++ program, nothing really significant, at …

c++ iostream int128
Byte Stream and Character stream

Please explain what Byte streams and Character streams are. What exactly do these mean? Is a Microsoft Word document Byte …

java filestream iostream
Using flush() before close()

As per the java docs, invoking close() on any java.io Streams automatically invokes flush(). But I have seen in …

java iostream