LIS ? you mean list ?
std::copy(v.begin(),v.end(),std:: ostream_iterator<int>(std::cout, " "));
will print out a vector (array)
cout<<sizeof(arr)/sizeof(arr[0])
will display the len of arr
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: how to construct all LISThreaded View
|
Click Here to Expand Forum to Full Width |