No announcements
Found 10434 threads
-
0 Votes
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.Answered | 3 Replies | 739 Views | Created by Diepriye - Monday, April 14, 2014 3:49 PM | Last reply by Reed Kimble - Monday, April 14, 2014 4:44 PM -
0 Votes
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 ...Answered | 4 Replies | 2706 Views | Created by itneophyte85 - Monday, November 9, 2015 3:55 PM | Last reply by itneophyte85 - Monday, November 9, 2015 9:10 PM -
0 Votes
How to assign a vector value in another vector ?
K.Nehra wrote: std::vector<CStringW> CSvec; //First ...Answered | 2 Replies | 2106 Views | Created by K.Nehra - Friday, November 2, 2012 11:47 AM | Last reply by Igor Tandetnik - Friday, November 2, 2012 1:36 PM -
0 Votes
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.Answered | 4 Replies | 1126 Views | Created by Devendert - Monday, April 18, 2016 6:29 PM | Last reply by davewilk - Tuesday, April 19, 2016 9:54 PM -
2 Votes
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: ...Answered | 8 Replies | 3275 Views | Created by vivek_mendse - Monday, February 20, 2012 11:57 AM | Last reply by Helen Zhao - Tuesday, February 28, 2012 1:32 AM -
0 Votes
Looping a vector
On 09/03/2011 13:59, ROCKYS12345 wrote: Which loop is more efficient in iterating a vector?Answered | 6 Replies | 5213 Views | Created by ROCKYS12345 - Wednesday, March 9, 2011 12:59 PM | Last reply by ROCKYS12345 - Monday, March 21, 2011 6:15 AM -
0 Votes
Vector Printing
In addition, there is an article about Silverlight Vector Printing below and you may refer to it.Answered | 3 Replies | 1809 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 -
0 Votes
Resize vector with 6 indices
c:.cpp(225) : error C2228: left of '.resize' must have ...Answered | 27 Replies | 2324 Views | Created by Jeffs_Programs - Friday, August 10, 2012 8:58 PM | Last reply by - Monday, August 20, 2012 11:22 AM -
0 Votes
Deep copy pointer to a vector
LRESULT UpdateControl(WPARAM wpm, LPARAM lpm) { // get the WPARAM ionto a pointer std::vector<CString> *dataptr = ...Answered | 2 Replies | 1697 Views | Created by jacobkingsly - Friday, August 23, 2013 2:23 PM | Last reply by SimonRev - Friday, August 23, 2013 8:18 PM -
3 Votes
How to insert two or more vector values into another vector without duplicates
If vectors are sorted, then consider set_union.Answered | 6 Replies | 936 Views | Created by Shel88 - Wednesday, September 10, 2014 7:41 AM | Last reply by Viorel_ - Wednesday, September 10, 2014 12:05 PM -
0 Votes
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.Answered | 1 Replies | 4353 Views | Created by jgillin - Sunday, November 30, 2008 9:05 PM | Last reply by Vineeth Paliath - Monday, December 1, 2008 5:05 AM -
0 Votes
Vector class explanation
"But what if I need to place a vector starting from coordinates (20,30) ?Answered | 3 Replies | 981 Views | Created by Emil Kosic - Monday, January 27, 2014 7:53 PM | Last reply by Mike Danes - Wednesday, January 29, 2014 6:11 PM -
0 Votes
CArray of vectors crashing when accessing the first vector in release mode
Infact in my application I'm now using a std::vector instead of a CArray to store a vector.Answered | 8 Replies | 6311 Views | Created by Ana_Y - Tuesday, April 6, 2010 12:59 PM | Last reply by Ana_Y - Friday, April 9, 2010 9:08 PM -
0 Votes
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 ...Answered | 23 Replies | 5050 Views | Created by Jeffs_Programs - Thursday, July 15, 2010 2:19 PM | Last reply by Jeffs_Programs - Thursday, July 15, 2010 7:22 PM -
0 Votes
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.Answered | 7 Replies | 3850 Views | Created by SM_M - Sunday, August 29, 2010 3:50 PM | Last reply by «_Superman_» - Monday, September 6, 2010 4:21 AM -
0 Votes
explicit ctor vector::vector(size_type) implicitly called by the compiler
An int cannot be converted to std::vector because there is no matching converting constructor (the candidate std::vector::vector(size_type) does*not* match because it's ...Answered | 8 Replies | 1608 Views | Created by powerchord - Friday, November 14, 2014 8:41 AM | Last reply by powerchord - Wednesday, December 3, 2014 8:09 AM -
0 Votes
find string in vector
Also, vector doesn't have a method named find.Answered | 8 Replies | 1856 Views | Created by samm33 - Tuesday, October 15, 2013 8:53 PM | Last reply by WayneAKing - Wednesday, October 16, 2013 3:33 AM -
5 Votes
how to remove elements of one vector from another vector
I have two vectors A and B, B is a subset of A, now i >want to remove elements of B from A, how to do that?Answered | 6 Replies | 8072 Views | Created by daiyueweng - Sunday, July 10, 2011 1:28 PM | Last reply by M. Shoaib Surya - Sunday, July 10, 2011 10:14 PM -
0 Votes
Platform::Array to std::vector
Hello, // Construct a std::vector.Answered | 1 Replies | 1693 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 -
0 Votes
inspect std::vector, on debug
However , sometimes, when I am debugging, and using structures of std::vector type, I can not inspect the vector, directly, via a Variable Watch, or, by directly hovering over it, ...Answered | 1 Replies | 1245 Views | Created by hansaaa - Saturday, October 19, 2013 6:53 PM | Last reply by Amanda Zhu - Tuesday, October 22, 2013 10:32 AM - Items 1 to 20 of 10434 Next ›
No announcements