Example 1:
copy the elements of a vector to the standard output, one per line.
vector
copy(vectorData.begin(), vectorData.end(), ostream_iterator
Example 2:
copy the cha** data to the standard output, one per line.
char** charData= new char*[2];
copy(charData.begin(), charData.end(), ostream_iterator
No comments:
Post a Comment