Objectives : myAlgo_set_difference1.cpp first series prevailed over the second setdiff = set_difference ( v1.begin ( ) , v1.end ( ) , v2.begin ( ), v2.end ( ) , vDiff.begin ( ) ); Code: myAlgo_set_difference1.txt also see : myAlgo_symmetric_difference1.htm, myAlgo_set_intersection1.htm
Objectives :
Step: 1 Create a source file.
Step: 2 Edit and save Source file
Step: 3 Runtime Views: FYI, when an element in the first series was in ascending sequence, the element in the first was recognized; if not in an order (bottom illustration), would be dropped out.
Step: