Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
fill « STL Algorithms Modifying sequence operations « C++
C++
STL Algorithms Modifying sequence operations
fill
1.
Use the generic fill algorithms: Fill first 5 positions of vector1 with X's
2.
Use std::fill to fill vector with chars
3.
Use fill function to overwrite all elements with 'again'
4.
Use fill function to replace the second and up to the last element but one with 'hmmm'