|
From: <Mat...@Ve...> - 2005-05-18 19:18:12
|
I didn't call the str functions nonstandard.
I called your particular use of them nonstandard.
--Matt
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Per
Westermark
Sent: Wednesday, May 18, 2005 11:11 AM
To: Guillermo Gutierrez
Cc: Mat...@Ve...;
dev...@li...
Subject: RE: FW: [Dev-C++] Win32 Shell API
Calling strxxx() functions non-standard sounds a bit amusing given the
fact that they are part of a large number of standards and also used in
multidigit billion lines of code...
Anyway, yes std::string works perfectly well to use.
std::string s;
std::string separator;
separator.append("\0",1);
s += "file1.txt";
s += separator;
s += "file2.txt";
s += separator;
...
const char* psz = s.c_str();
/Per W
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof. Thank you.
|