No announcements

### Vectors

Typically when someone says "vector" all by itself in the context of a computer program, they are talking about a structure of two or more dimensions.
| 3 Replies | 734 Views | Created by Diepriye - Monday, April 14, 2014 3:49 PM | Last reply by Reed Kimble - Monday, April 14, 2014 4:44 PM

### problem with vector

Well, for the standard itself, all it has to say about both of the size versions of vector is: explicit vector(size_type n); 3 Effects: ...
| 8 Replies | 3269 Views | Created by vivek_mendse - Monday, February 20, 2012 11:57 AM | Last reply by Helen Zhao - Tuesday, February 28, 2012 1:32 AM

### Returning a Vector of Vectors from CLI Wrapper to C++

Hi David, I tried your method, but it was giving strange errors, so I thought copying the contents to a vector is much easier.
| 4 Replies | 1116 Views | Created by Devendert - Monday, April 18, 2016 6:29 PM | Last reply by davewilk - Tuesday, April 19, 2016 9:54 PM

### Resize vector with 6 indices

nn.resize(3,   vector<double>(3),   ...
| 27 Replies | 2317 Views | Created by Jeffs_Programs - Friday, August 10, 2012 8:58 PM | Last reply by - Monday, August 20, 2012 11:22 AM

### Handling csv data as 2D vector - C++: from vector of string vector to vector of struct

struct Identity { int ID; std::string name; std::string surname; double grade; }; Identity ...
| 4 Replies | 2697 Views | Created by itneophyte85 - Monday, November 9, 2015 3:55 PM | Last reply by itneophyte85 - Monday, November 9, 2015 9:10 PM

### Looping a vector

On 09/03/2011 13:59, ROCKYS12345 wrote: Which loop is more efficient in iterating a vector?
| 6 Replies | 5206 Views | Created by ROCKYS12345 - Wednesday, March 9, 2011 12:59 PM | Last reply by ROCKYS12345 - Monday, March 21, 2011 6:15 AM

### How to assign a vector value in another vector ?

K.Nehra wrote: std::vector<CStringW> CSvec; //First ...
| 2 Replies | 2102 Views | Created by K.Nehra - Friday, November 2, 2012 11:47 AM | Last reply by Igor Tandetnik - Friday, November 2, 2012 1:36 PM

### Vector Printing

I do get the print options dialog box where I can find all the printers connected to my PC among with those two "PDF printer drivers" I mentioned.
| 3 Replies | 1802 Views | Created by Igor Kondrasovas - Tuesday, December 10, 2013 5:39 PM | Last reply by Yunjie Pei - MSFT - Monday, December 16, 2013 1:44 AM

### Assign Value to vector

Its a problem because if I declare all the vectors as global variable's it will always allocate memory for all those ...
| 23 Replies | 5044 Views | Created by Jeffs_Programs - Thursday, July 15, 2010 2:19 PM | Last reply by Jeffs_Programs - Thursday, July 15, 2010 7:22 PM

### explicit ctor vector::vector(size_type) implicitly called by the compiler

VS2015 is not available yet and no developer in his right mind would use a preview version for production code.
| 8 Replies | 1606 Views | Created by powerchord - Friday, November 14, 2014 8:41 AM | Last reply by powerchord - Wednesday, December 3, 2014 8:09 AM

### Platform::Array to std::vector

Hello, // Construct a std::vector.
| 1 Replies | 1688 Views | Created by t-n-x - Monday, March 16, 2015 8:28 PM | Last reply by Herro wong - Tuesday, March 17, 2015 8:57 AM

### Unknown option '--no-version-vectors--no-version-vectors'

User191 posted @AidanMorgan said: I got around this problem thanks to @BuildCalc comment - it appears that the vector project is imported twice in the .csproj file, removing one ...
| 10 Replies | 811 Views | Created by Anonymous - Friday, April 29, 2016 10:30 PM | Last reply by Anonymous - Monday, May 22, 2017 2:36 PM

### How to insert two or more vector values into another vector without duplicates

If vectors are sorted, then consider set_union.
| 6 Replies | 934 Views | Created by Shel88 - Wednesday, September 10, 2014 7:41 AM | Last reply by Viorel_ - Wednesday, September 10, 2014 12:05 PM

### how to erase map of vector

An hour ago Dave told you "Your second version does not compile because v1 and v2 are variables, not types".
| 65 Replies | 1604 Views | Created by Shel88 - Friday, May 23, 2014 11:41 AM | Last reply by Barrister and Solicitor - Tuesday, May 27, 2014 11:36 AM

### Vectorize Bitmaps

As of right now, I don't think there's any library in .NET for turning a bitmap image into a vector form.
| 1 Replies | 4346 Views | Created by jgillin - Sunday, November 30, 2008 9:05 PM | Last reply by Vineeth Paliath - Monday, December 1, 2008 5:05 AM

### Deep copy pointer to a vector

LRESULT UpdateControl(WPARAM wpm, LPARAM lpm) { // get the WPARAM ionto a pointer std::vector<CString> *dataptr = ...
| 2 Replies | 1690 Views | Created by jacobkingsly - Friday, August 23, 2013 2:23 PM | Last reply by SimonRev - Friday, August 23, 2013 8:18 PM

### Vector class explanation

"But what if I need to place a vector starting from coordinates (20,30) ?
| 3 Replies | 975 Views | Created by Emil Kosic - Monday, January 27, 2014 7:53 PM | Last reply by Mike Danes - Wednesday, January 29, 2014 6:11 PM

### Populate Vector from file and use vector content in different event handler

I have added the vector as a member variable of the form class which has the open file button that will need to populate the vector.
| 7 Replies | 3847 Views | Created by SM_M - Sunday, August 29, 2010 3:50 PM | Last reply by «_Superman_» - Monday, September 6, 2010 4:21 AM