Click here to Skip to main content
15,886,873 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Question about copy algorithm of STL. Pin
Ryan_Roberts5-Feb-03 3:29
Ryan_Roberts5-Feb-03 3:29 
GeneralRe: Question about copy algorithm of STL. Pin
George25-Feb-03 19:39
George25-Feb-03 19:39 
Questionstl version of CString? Pin
Nitron4-Feb-03 13:47
Nitron4-Feb-03 13:47 
AnswerRe: stl version of CString? Pin
Michael Dunn4-Feb-03 14:04
sitebuilderMichael Dunn4-Feb-03 14:04 
GeneralRe: stl version of CString? Pin
Alexandru Savescu4-Feb-03 21:09
Alexandru Savescu4-Feb-03 21:09 
GeneralRe: stl version of CString? Pin
Tim Smith5-Feb-03 2:30
Tim Smith5-Feb-03 2:30 
GeneralRe: stl version of CString? Pin
Nitron5-Feb-03 6:16
Nitron5-Feb-03 6:16 
GeneralRe: stl version of CString? Pin
Ben Burnett7-Feb-03 13:55
Ben Burnett7-Feb-03 13:55 
std::ostringstream oss;	
oss << "My unsigned int is 0x" << std::uppercase << std::setw ( 8 ) 
    << std::setfill ( '0' ) << std::hex << n << std::endl;	
std::cout << oss.str () << std::endl;


Is roughly the equivalent when using the STLs. It a bit of a mouth full, but some of the modifiers persist between calls--std::uppercase will, while std::setw must be called each time--so once you called them, you need not do so again untill you need a new option set.

cheers,
-B
GeneralRe: stl version of CString? Pin
Nitron8-Feb-03 4:31
Nitron8-Feb-03 4:31 
GeneralRe: stl version of CString? Pin
Ben Burnett8-Feb-03 5:52
Ben Burnett8-Feb-03 5:52 
GeneralRe: stl version of CString? Pin
Nick Parker10-Feb-03 5:18
protectorNick Parker10-Feb-03 5:18 
Generalpredicate function Pin
User 98854-Feb-03 7:26
User 98854-Feb-03 7:26 
GeneralRe: predicate function Pin
Joaquín M López Muñoz4-Feb-03 7:49
Joaquín M López Muñoz4-Feb-03 7:49 
GeneralRe: predicate function Pin
User 98854-Feb-03 8:04
User 98854-Feb-03 8:04 
GeneralRe: predicate function Pin
User 98854-Feb-03 8:07
User 98854-Feb-03 8:07 
GeneralDelayed QueryInterface error Exception!!! Pin
EdgarBM4-Feb-03 1:34
EdgarBM4-Feb-03 1:34 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
Stefan Pedersen4-Feb-03 3:01
Stefan Pedersen4-Feb-03 3:01 
GeneralRe: Delayed QueryInterface error Exception!!! Pin
EdgarBM9-Feb-03 21:38
EdgarBM9-Feb-03 21:38 
QuestionUsing STL input iterator reading from a file ?? Pin
George24-Feb-03 0:21
George24-Feb-03 0:21 
AnswerRe: Using STL input iterator reading from a file ?? Pin
Joaquín M López Muñoz4-Feb-03 1:40
Joaquín M López Muñoz4-Feb-03 1:40 
GeneralRe: Using STL input iterator reading from a file ?? Pin
George24-Feb-03 1:47
George24-Feb-03 1:47 
GeneralRe: Using STL input iterator reading from a file ?? Pin
Joaquín M López Muñoz4-Feb-03 1:50
Joaquín M López Muñoz4-Feb-03 1:50 
GeneralRe: Using STL input iterator reading from a file ?? Pin
George24-Feb-03 2:12
George24-Feb-03 2:12 
GeneralRe: Using STL input iterator reading from a file ?? Pin
Joaquín M López Muñoz4-Feb-03 2:15
Joaquín M López Muñoz4-Feb-03 2:15 
GeneralRe: Using STL input iterator reading from a file ?? Pin
George24-Feb-03 2:33
George24-Feb-03 2:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.