About 680,000 results
Open links in new tab
  1. file - What does 'stream' mean in C? - Stack Overflow

    A stream is a logical entity that represents a file or device, that can accept input or output. All input and output functions in standard C, operate on data streams.

  2. c - What is the difference between a stream and a file? - Stack …

    May 28, 2019 · The C standard talks about streams. For example the fopen(3) manual page tells that fopen is a stream open function. Can anybody explain what exactly streams are, and how …

  3. how would i create a file output stream in c like stdout?

    6 if printf uses stdout but how would i write a print function using my own output stream? i want to handle this stream with a OO-like structure but i can do that myself. is this possible? this for …

  4. How do I save a stream to a file in C#? - Stack Overflow

    I have a StreamReader object that I initialized with a stream, now I want to save this stream to disk (the stream may be a .gif or .jpg or .pdf). Existing Code: StreamReader sr = new …

  5. What is exactly a stream in C language? - Stack Overflow

    From the perspective of your code, a stream is simply a source (input stream) or sink (output stream) of characters (text stream) or bytes (binary stream). Streams are managed through …

  6. buffer - Getting data from file stream in c - Stack Overflow

    Apr 12, 2011 · Getting data from file stream in c Asked 14 years, 7 months ago Modified 14 years, 7 months ago Viewed 11k times

  7. c++ - How does file streaming actually work? - Stack Overflow

    May 20, 2011 · Is it possible to implement file streaming yourself? How does it work at the lowest C / C++ (or any language that supports file streaming) level? Do the C functions fopen, fclose, …

  8. Creating fstream object from a FILE* pointer - Stack Overflow

    You could however write your own iostream that's backed by a C FILE stream. I believe that GCC comes with one such stream class as a library extension. Alternatively, if all you want is an …

  9. How to construct a c++ fstream from a POSIX file descriptor?

    with description This constructor associates a file stream buffer with an open POSIX file descriptor. We create it passing POSIX handle (line 1) and then we pass it to istream's …

  10. c - Difference between "file pointer", "stream", "file descriptor" and ...

    There are a few related concepts out there, namely file pointer, stream and file descriptor. I know that a file pointer is a pointer to the data type FILE (declared in e.g. FILE.h and struct_FILE.h...