Click here to Skip to main content
15,917,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 20:37
Johann Gerell2-Sep-04 20:37 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 20:50
alex.barylski2-Sep-04 20:50 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 20:53
alex.barylski2-Sep-04 20:53 
GeneralRe: STL quickie Pin
PJ Arends2-Sep-04 21:02
professionalPJ Arends2-Sep-04 21:02 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 21:13
Johann Gerell2-Sep-04 21:13 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:14
alex.barylski2-Sep-04 21:14 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:19
alex.barylski2-Sep-04 21:19 
GeneralRe: STL quickie Pin
PJ Arends2-Sep-04 21:30
professionalPJ Arends2-Sep-04 21:30 
Combine what I said about using front() and back() with what Johan said below about using c_str() to get a char* from a string.
MessageBox(0, m_lsFiles.front().c_str(), m_lsFiles.back().c_str(), MB_OK);
Do not give up on STL. It is quite cool once you get use to it.








"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:43
alex.barylski2-Sep-04 21:43 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 21:05
Johann Gerell2-Sep-04 21:05 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 21:17
alex.barylski2-Sep-04 21:17 
GeneralRe: STL quickie Pin
Johann Gerell2-Sep-04 23:03
Johann Gerell2-Sep-04 23:03 
GeneralRe: STL quickie Pin
PJ Arends2-Sep-04 20:42
professionalPJ Arends2-Sep-04 20:42 
GeneralRe: STL quickie Pin
alex.barylski2-Sep-04 20:49
alex.barylski2-Sep-04 20:49 
GeneralSetting "Service" dependency programatically Pin
Qasim Jalil2-Sep-04 19:36
sussQasim Jalil2-Sep-04 19:36 
GeneralRe: Setting "Service" dependency programatically Pin
parths2-Sep-04 21:09
parths2-Sep-04 21:09 
GeneralChange Exe contents while running Pin
Arsalan Malik2-Sep-04 18:23
Arsalan Malik2-Sep-04 18:23 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:35
bmw50022-Sep-04 18:35 
GeneralRe: Change Exe contents while running Pin
alex.barylski2-Sep-04 18:37
alex.barylski2-Sep-04 18:37 
GeneralRe: Change Exe contents while running Pin
bmw50022-Sep-04 18:52
bmw50022-Sep-04 18:52 
GeneralRe: Change Exe contents while running Pin
2249172-Sep-04 20:54
2249172-Sep-04 20:54 
GeneralRe: Change Exe contents while running Pin
jmkhael2-Sep-04 22:14
jmkhael2-Sep-04 22:14 
GeneralRe: Change Exe contents while running Pin
David Crow3-Sep-04 2:35
David Crow3-Sep-04 2:35 
Generalport scan detector Pin
Anonymous2-Sep-04 18:19
Anonymous2-Sep-04 18:19 
GeneralRe: port scan detector Pin
bmw50022-Sep-04 19:51
bmw50022-Sep-04 19:51 

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.