ostream
Singly linked list C++ ostream and istream -- outputs memory addresses
Im really new to this and am now learning singly linked lists. I am writing some code but I am really confused. I am trying to write a read method and a write method. I have a test harness I cant chan[详细]
2023-02-28 20:05 分类:问答C++ operator<< and >> methods in the header file, done very wrong
I have this code in my header file and Ive got loads of errors on the ostream and istream lines. One error is \"missing \";\" before \"&\"\" and im confuzzled, im new to this sorry[详细]
2023-02-26 18:42 分类:问答inheriting ostream and streambuf problem with xsputn and overflow
I have been doing research on creating my own ostream and along with that a streambuf to handle the buffer for my ostream.I actually have开发者_Python百科 most of it working, I can insert (<<) i[详细]
2023-02-25 16:19 分类:问答C++ Passing ostream as parameter
I\'m working on a homework project for a virtual rolodex that has called for a main class, a rolodex class, and a card class. To output the contents of all of the \"cards\" to the console, the assignm[详细]
2023-02-21 12:05 分类:问答Passing a child of std::ostream to a library that wants std::ostream *
I have a class (for logging) which derives from std::ostream. Stripped down, it looks like this: class bsgs : public std::ostream {[详细]
2023-02-16 18:06 分类:问答C++ ostream out manipulation
well basically it should list all the vector coords in this kind of format : (x, y, z) but at the moment it does like this (x, y, z, )[详细]
2023-02-16 17:40 分类:问答C++ overloading << error
I am hoping to get some help with an error I am getting - I have searched similar questions which havent really gave me what I\'m after. A code snippet is listed below:[详细]
2023-02-10 19:17 分类:问答Overload <<, returning ostream gives error. C++
I\'m having an issue with overloading the << operator. Everything prints and enters fine, but when I try and return the ostream, I get this error:[详细]
2023-02-10 17:15 分类:问答Overloading ostream
I have my class for example TEST in TEST.h I have friend ostream& operator<< (ostream& out, const test& outstr);[详细]
2023-02-10 03:59 分类:问答Typedef and ostream operator for a std::vector
I created a class Chromosome that ended up simply being a wrapper for vector with an ostream operator, so I\'ve decided to typedef vector instead. However, I\'m having trouble with the templated ostre[详细]
2023-02-09 21:25 分类:问答
加载中,请稍侯......