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_n « STL Algorithms Modifying sequence operations « C++
C++
STL Algorithms Modifying sequence operations
fill_n
1.
Use the fill_n algorithms: Fill 3 more positions with Y's
2.
Use std::fill_n to fill the first five elements of chars with 'A'
3.
Use fill_n function to insert 'hello' nine times
4.
Use fill_n function to replace all but two elements with 'hi'