User profile: ravenodin

User info
User name:ravenodin
History
Joined:
Number of posts:4
Latest posts:

Error in cin input to a class?
[code] #include <iostream> using namespace std; class A { int data; public: friend istream&...

Is there any way to change the colour of a string within a string in c++
It's best not to use all caps for enums to avoid name clashes with macros.

How to turn a vector into a value?
You could use a stringstream. [code]#include <iostream> #include <sstream> #include <vector> using ...

Can my source code be condensed?
@JLBorges You should include the <string> header when using std::string.