No announcements
Found 1136314 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 | 734 Views | Created by Diepriye - Monday, April 14, 2014 3:49 PM | Last reply by Reed Kimble - Monday, April 14, 2014 4:44 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 | 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 -
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 | 1116 Views | Created by Devendert - Monday, April 18, 2016 6:29 PM | Last reply by davewilk - Tuesday, April 19, 2016 9:54 PM -
0 Votes
Resize vector with 6 indices
nn.resize(3, vector<double>(3), ...Answered | 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 -
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 | 2697 Views | Created by itneophyte85 - Monday, November 9, 2015 3:55 PM | Last reply by itneophyte85 - Monday, November 9, 2015 9:10 PM -
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 | 5206 Views | Created by ROCKYS12345 - Wednesday, March 9, 2011 12:59 PM | Last reply by ROCKYS12345 - Monday, March 21, 2011 6:15 AM -
0 Votes
How to assign a vector value in another vector ?
K.Nehra wrote: std::vector<CStringW> CSvec; //First ...Answered | 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 -
0 Votes
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.Answered | 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 -
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 | 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 -
0 Votes
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.Answered | 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 -
0 Votes
Platform::Array to std::vector
Hello, // Construct a std::vector.Answered | 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 -
0 Votes
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 ...Answered | 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 -
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 | 934 Views | Created by Shel88 - Wednesday, September 10, 2014 7:41 AM | Last reply by Viorel_ - Wednesday, September 10, 2014 12:05 PM -
1 Votes
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".Answered | 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 -
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 | 4346 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
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 | 1690 Views | Created by jacobkingsly - Friday, August 23, 2013 2:23 PM | Last reply by SimonRev - Friday, August 23, 2013 8:18 PM -
0 Votes
Vector class explanation
"But what if I need to place a vector starting from coordinates (20,30) ?Answered | 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 -
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 | 3847 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
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 | 6296 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
find string in vector
Also, vector doesn't have a method named find.Answered | 8 Replies | 1848 Views | Created by samm33 - Tuesday, October 15, 2013 8:53 PM | Last reply by WayneAKing - Wednesday, October 16, 2013 3:33 AM - Items 1 to 20 of 1136314 Next ›
No announcements