Great Article --- We need one the detailed for cin
Posted by Daniel Krueger
on 03/15/2017 06:53pm
This is very thorough I love it! Can you write one for cin object? It always seems that the reference for cin always misses some of the important things... Especially like why does repeated calls to a cin cause simple programs to do unexpected things... I really wanted to learn how io with hardware works but I feel like That's not going to happen until I have a better understanding of what cin is doing behind the scenes.. including it's error states!
I have some code I've found that I'm using but I don't 100% know what it means. Can you please explain it:
1) vector Graph;
Graph.push_back(vector()); // what exactly does this mean?
Thanks. Great article by the way.