Inserts blanks or zeroes on the left of a formatted string representing a number.
void pblank( std::string& start, int width, bool zeroFill );
|
Parameters |
Description |
|
std::string& start |
String without blanks, to be returned with blanks. |
|
int width |
Minimum width of field. |
|
bool zeroFill |
True if should zero fill on left. |
|
Copyright (c) 2010. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|