6/14/2017
stl vector test for pop back and pop front
STL Vector test for pop_back, pop_back_n and pop front.
I wanted to erase first element.
but there is no inner function.
pop_back, pop_back_n is that erase last element in vectors.
The last sample is the method to pop front.
refer to this sample code.
< gist >
< /gist >
Subscribe to:
Post Comments (Atom)
-
fig 1. Left: set 4 points (Left Top, Right Top, Right Bottom, Left Bottom), right:warped image to (0,0) (300,0), (300,300), (0,300) Fi...
-
In past, I wrote an articel about YUV 444, 422, 411 introduction and yuv <-> rgb converting example code. refer to this page -> ht...
-
This is data acquisition source code of LMS511(SICK co.) Source code is made by MFC(vs 2008). The sensor is communicated by TCP/IP. ...
-
My Environment : MS VS 2008 & MFC(Dialog Based) Joy Stick : Logitech Extreme 3D pro (XBox Type) Cteated Date : 2012. 03 [source code]...
-
This is dithering example, it make image like a stippling effect. I referenced to blew website. wiki page: https://en.wikipedia.org/wik...
-
Created Date : 2011.10. Language : Matlab 2010 Tool : - Library & Utilized :- Reference :An Incremental K-means algorithm(D.T. ...
-
In the YUV color format, Y is bright information, U is blue color area, V is red color area. Show the below picture. The picture is u-v col...
-
Logistic Classifier The logistic classifier is similar to equation of the plane. W is weight vector, X is input vector and y is output...
-
This article explain how to access the thread index when you make block and thread with two dimensions. please refer to this page about me...
-
print( oct(38) ) #octal print( hex(38) ) #hex print( bin(38) ) #binary #0o46 #0x26 #0b100110 print( type( oct(38) ) ) # x= 3 - 4j pri...
No comments:
Post a Comment