Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
AfxFormatString1 Function

Loads the specified string resource and substitutes for the characters "%1" the string referenced by filler.

C++
void AfxFormatString1(
    std::string& result, 
    unsigned int rsc, 
    const std::string& filler
);
Parameters 
Description 
std::string& result 
A reference to a string that will contain the resultant string after the substitution is performed. 
unsigned int rsc 
The resource ID of the template string on which the substitution will be performed 
const std::string& filler 
A string that will replace the format characters "%1" in the template string 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!