andreacasalino / coloredstream Goto Github PK
View Code? Open in Web Editor NEWc++ stringstream handling colors
c++ stringstream handling colors
### This is a Feature Request!
Ok so this isn't a real issue, because I ended up making something that serves my purpose, but I thought I would still put in the request here, as its the main reason I used this library, and I am sure for others they will want the same thing from this library.
What I am asking for is the ability for this to work exactly the same way that std::cout does, but with predefined colors. What I mean is that you can plug in various variables and such and just keep chaining if you want, without having to define the color on every text block.
/// something like this would be awesome
colored_stream::Print << "this prints yellow" << "this is yellow too"
<< someVar << " even shows up yellow" << std::endl;
I have already made something for myself FROM this library, and it took me awhile to get it working, so I guess I don't absolutely need it, but I still think that this will really attract more users to this AWESOME library you have made here.
Anyways if you don't want to add this feature, its ok, but I wanted to at least say thank you for making this library public!
Here is a picture of what I made using your library that works the way I am requesting :D
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.