|
-
May 4th, 1999, 03:29 AM
#1
Dynamic formating a string
Wat I want is to read a text string from a (configuration) file,
e.g. "This is line number %d, used for %s.,inumber, strtext"
In my program i have also defined the variables:
int inumber = 12;
CString strtext = "testing"
ect.
How can I read this string an convert it to the formated string I want ?
This is line number 12, used for testing
The meaning is that I can define various formatted strings in a text
file witch I can use in my program.
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|