Click here to Skip to main content
15,905,874 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralOwner-draw in listview Pin
IMiracle19-Mar-04 2:40
IMiracle19-Mar-04 2:40 
Generaldll export stl map which carries built in Objects Pin
skpanda17-Mar-04 23:45
skpanda17-Mar-04 23:45 
GeneralRe: dll export stl map which carries built in Objects Pin
ian mariano18-Mar-04 4:16
ian mariano18-Mar-04 4:16 
GeneralSTL string to _bstr_t conversion Pin
Sandeep Kulkarni17-Mar-04 19:31
Sandeep Kulkarni17-Mar-04 19:31 
GeneralRe: STL string to _bstr_t conversion Pin
ian mariano18-Mar-04 4:21
ian mariano18-Mar-04 4:21 
GeneralRe: STL string to _bstr_t conversion Pin
Michael Dunn18-Mar-04 5:10
sitebuilderMichael Dunn18-Mar-04 5:10 
GeneralRe: STL string to _bstr_t conversion Pin
Nemanja Trifunovic18-Mar-04 5:19
Nemanja Trifunovic18-Mar-04 5:19 
GeneralRe: STL string to _bstr_t conversion Pin
Michael Dunn18-Mar-04 19:45
sitebuilderMichael Dunn18-Mar-04 19:45 
hmm... That was just one of those things I saw in passing and it happened to stick in my memory. Of course, I can't find it now. Frown | :( So I could be wrong, don't quote me (well, you already did... don't quote me elsewhere Wink | ;) )

The closest I can find is this:
basic_string::c_str
const E *c_str() const;
The member function returns a pointer to a nonmodifiable C string constructed by adding a terminating null element (E(0)) to the controlled sequence. Calling any non-const member function for *this can invalidate the pointer.
That's one aspect that treats E(0) as special, E(0) being '\0' for character strings. Since the caller of c_str() can look for E(0) to mark the end of the returned string, an E(0) in the middle of the string also looks like the end.

--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ

----
Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.
  -- Michael P. Butler in the Lounge

GeneralRe: STL string to _bstr_t conversion Pin
Nemanja Trifunovic19-Mar-04 6:40
Nemanja Trifunovic19-Mar-04 6:40 
GeneralRe: STL string to _bstr_t conversion Pin
Paul Ranson22-Mar-04 3:25
Paul Ranson22-Mar-04 3:25 
GeneralIE and activex Pin
mikewithersone17-Mar-04 10:19
mikewithersone17-Mar-04 10:19 
GeneralRe: IE and activex Pin
Jörgen Sigvardsson17-Mar-04 11:31
Jörgen Sigvardsson17-Mar-04 11:31 
GeneralRe: IE and activex Pin
mikewithersone18-Mar-04 1:34
mikewithersone18-Mar-04 1:34 
GeneralRe: IE and activex Pin
Jörgen Sigvardsson19-Mar-04 7:43
Jörgen Sigvardsson19-Mar-04 7:43 
GeneralHelp needed on ATL control Pin
ben217-Mar-04 6:17
ben217-Mar-04 6:17 
GeneralATL DialogBox Pin
asv16-Mar-04 22:19
asv16-Mar-04 22:19 
GeneralRe: ATL DialogBox Pin
Jörgen Sigvardsson17-Mar-04 7:01
Jörgen Sigvardsson17-Mar-04 7:01 
GeneralYahoo Groups Problem Pin
Steve S16-Mar-04 1:08
Steve S16-Mar-04 1:08 
GeneralSTL:: list Pin
vikramlinux16-Mar-04 0:46
vikramlinux16-Mar-04 0:46 
GeneralRe: STL:: list Pin
Mike Beckerleg16-Mar-04 3:13
Mike Beckerleg16-Mar-04 3:13 
GeneralRe: STL:: list Pin
Nemanja Trifunovic16-Mar-04 5:36
Nemanja Trifunovic16-Mar-04 5:36 
GeneralRe: STL:: list Pin
Jörgen Sigvardsson16-Mar-04 13:22
Jörgen Sigvardsson16-Mar-04 13:22 
GeneralRe: STL:: list Pin
vikramlinux16-Mar-04 17:19
vikramlinux16-Mar-04 17:19 
GeneralRe: STL:: list Pin
Todd Smith17-Mar-04 6:46
Todd Smith17-Mar-04 6:46 
GeneralRe: STL:: list Pin
Jörgen Sigvardsson17-Mar-04 6:53
Jörgen Sigvardsson17-Mar-04 6:53 

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.