Pre {Line-Height: 1; color: # f0caa6; Background-color: # 2d161d; font-size: 16px ;}. sysfunc {color: # e54ae9; font-style: italic; font-weight: bold ;}. selffuc {color: # f1f9be ;}. bool {color: # 69305e ;}. condition {color: #628698; font-weight: bold ;}. key {color: # e336b6 ;}. vaR {color: #008080; font-style: italic ;}. digit {color: #808080; font-weight: bold ;}. includepre {color: # a6caf0 ;}. operator? {Color: # ce0c40; font-weight: bold ;}
For example:
In a program I wrote, I want to delete elements at a certain position.
??? For (list <tag_point> >:: iterator? Pos = point_to_file_list.begin (); pos! = Point_to_file_list.end (); POS ++ )?????? {?????????? For? (List <tag_point >:: iterator? Pos_line = (* POS). Begin (); pos_line! = (* POS). End ();)?? // Search by row ???? {??????????? If? (Compare (* pos_line, point_near_each_line [Line]) = false )???????? {?????????????????? List <tag_point>: iterator? P_before = pos_line ;??????????? Pos_line = (* POS). Erase (pos_line );????? Else ???? {????? Pos_line ++ ;?????}????}??? Line ++ ;???}
Used in this article? Calligraphy and painting novel software? Released, the content has nothing to do with the software, and the painting and calligraphy novel software? More comfortable reading, more comfortable writing, and easier Publishing.
Erase ()? Is the iterator for the next element after this element is deleted ?. XML