Vectors in C++11
Thank you for all your helpful replies. He wants me to download and install a pre-written header file that contains #include <vector>, but I would rather just keep putting in my own headers....
View ArticleVectors in C++11
vector<int> name[4]; declares an array of 4 empty vectors of type int,It would seem a little out of place for Bjarne to be using a "raw" array of vectors - unless to illustrate some potential...
View ArticleVectors in C++11
I have Bjarne Stroustrup's Principals and Practice with the C++ Programming Language. In chapter 4, he talks about Vectors and has me compile some code that is similar to this: vector<int>...
View ArticleVectors in C++11
>That works in my Visual Studio Express 2012, and the >vector<int> name[4] version doesn't. In what way *exactly* doesn't it "work"? Is there an error message you'd like to share? For...
View ArticleVectors in C++11
I have Bjarne Stroustrup's Principals and Practice with the C++ Programming Language. In chapter 4, he talks about Vectors and has me compile some code that is similar to this:...
View Article
More Pages to Explore .....