If you have 2 Vector and you want to add Vector b to end of Vector a, refer to below code. (very simple!)
vector< int > a;
a.push_back(1);
a.push_back(2);
a.push_back(3);
vector< int > b;
b.push_back(4);
b.push_back(5);
b.push_back(6);
a.insert(a.end(), b.begin(), b.end());
int count = 0;
for (auto it : a)
{
printf("a[%d] = %d \n", count++, it);
}
9/27/2017
Subscribe to:
Post Comments (Atom)
-
Created Date : 2011.10 Language : C/C++ Tool : Microsoft Visual C++ 2008 Library & Utilized : OpenCV 2.3 Reference : SIFT referenc...
-
* Introduction - The solution shows panorama image from multi images. The panorama images is processing by real-time stitching algorithm...
-
The latent SVM tells the learning method used in this paper -> "Discriminatively trained deformable part models". The authors s...
-
1. sudo apt update sudo apt install cmake 2. pip install cmake 3. pip install dlib
-
I am wondering that two hog features can compare or not. There was a article about this question on this page -> http://stackoverflow...
-
CUDA_ARCH_BIN Table for gpu type Jetson Products GPU Compute Capability Jetson AGX Xavier 7.2 Jetson Nano 5.3 Jetson TX2 6.2 Jetson TX1 5.3 ...
-
hmm......I have taken for about 5 hours for solve this problem.... error is like that: Traceback (most recent call last): File "...
-
As you can see in the following video, I created a class that stitching n cameras in real time. https://www.youtube.com/user/feelmare/sear...
-
When the video write, we can set parameter in following function.. outVideo.open(".\\outVideo.avi", askFileTypeBox, capture.get...
-
TensorFlow install on ubuntu (This is referenced pip install tutorial on tensorflow.org -> https://www.tensorflow.org/versions/r0.7/get_...
No comments:
Post a Comment