I'M reading "C++ FOR DUMMIES" 4th edition by Stephen Randy Davis and the chapter on arrays as just introduced this line -> cout.width(3);
with absolutly no explanation to waht width is. I would like any of you guys to help me wout here but in addition to telling what .width is please also explain to me how I can find this kind of info out on my own. I know that cout is part of std but I don't really understand std. As far as I know it's a library that I've not seen nor do I know where to find it. But knowing that cout is part of std and that width was acccessed through cout, I'M assuming that if I can see into std I could find out for myself what width is.
lewashby 56 Junior Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
tinstaafl 1,176 Posting Maven
lewashby 56 Junior Poster
deceptikon 1,790 Code Sniper Team Colleague Featured Poster
tinstaafl 1,176 Posting Maven
lewashby 56 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.