Quantcast
Channel: Vectors in C++11
Browsing all 5 articles
Browse latest View live

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 Article



Vectors 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 Article

Vectors 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 Article

Vectors 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 Article

Vectors 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

Browsing all 5 articles
Browse latest View live




Latest Images