Click here to Skip to main content
15,914,163 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Is possible to use ATL 7.0 in VC.6 ? Pin
Jörgen Sigvardsson10-Oct-04 6:30
Jörgen Sigvardsson10-Oct-04 6:30 
Generalkey_compare problem in maps Pin
sips4-Oct-04 19:48
sips4-Oct-04 19:48 
GeneralRe: key_compare problem in maps Pin
Joaquín M López Muñoz4-Oct-04 20:03
Joaquín M López Muñoz4-Oct-04 20:03 
GeneralRe: key_compare problem in maps Pin
sips4-Oct-04 20:36
sips4-Oct-04 20:36 
GeneralRe: key_compare problem in maps Pin
Joaquín M López Muñoz4-Oct-04 21:10
Joaquín M López Muñoz4-Oct-04 21:10 
GeneralRe: key_compare problem in maps Pin
sips4-Oct-04 22:58
sips4-Oct-04 22:58 
GeneralFlicker Problem in Listview Pin
Anonymous4-Oct-04 1:11
Anonymous4-Oct-04 1:11 
GeneralSTL stupid question Pin
RadioShark4-Oct-04 0:41
RadioShark4-Oct-04 0:41 
Hi,

I have the following struct:

<br />
typedef struct _MyStruct {<br />
   int one;<br />
   int two;<br />
} *pMyStruct, MyStruct;<br />


from which I constructed vector:

<br />
typedef std::vector<MyStruct> MyStructContainer;<br />
typedef std::vector<MyStruct>::iterator MyStructIter;<br />


In the one of my functions, I walk through all elements of vector:
<br />
MyStructContainer c;<br />
MyStructIter iter;<br />
pMyStruct p;<br />
<br />
for (iter = c.begin(); iter != c.end(); iter++)<br />
{<br />
    // here I want to get a pointer to MyStruct by iter. How?<br />
<br />
};<br />


How to get a pointer to MyStruct by iterator?







Sincerely Yours,
RadioShark
GeneralRe: STL stupid question Pin
Joaquín M López Muñoz4-Oct-04 2:33
Joaquín M López Muñoz4-Oct-04 2:33 
GeneralATL / STL : Dumb question maybe... Pin
Malcolm Smart30-Sep-04 10:40
Malcolm Smart30-Sep-04 10:40 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Joaquín M López Muñoz30-Sep-04 11:15
Joaquín M López Muñoz30-Sep-04 11:15 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Kevin McFarlane1-Oct-04 12:24
Kevin McFarlane1-Oct-04 12:24 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Michael Dunn1-Oct-04 9:48
sitebuilderMichael Dunn1-Oct-04 9:48 
GeneralRe: ATL / STL : Dumb question maybe... Pin
Anna-Jayne Metcalfe19-Oct-04 5:14
Anna-Jayne Metcalfe19-Oct-04 5:14 
GeneralCopying Lists and Vectors Pin
mcsherry30-Sep-04 0:26
mcsherry30-Sep-04 0:26 
GeneralRe: Copying Lists and Vectors Pin
Andrew Walker30-Sep-04 19:39
Andrew Walker30-Sep-04 19:39 
GeneralRe: Copying Lists and Vectors Pin
valikac4-Oct-04 6:34
valikac4-Oct-04 6:34 
GeneralRe: Copying Lists and Vectors Pin
toxcct5-Oct-04 23:28
toxcct5-Oct-04 23:28 
GeneralWTL Menu in MFC container Pin
peterchen29-Sep-04 8:29
peterchen29-Sep-04 8:29 
GeneralToo much connections and ATL Server Pin
Federico Milano29-Sep-04 8:20
Federico Milano29-Sep-04 8:20 
QuestionFriend Properties-Methods VB .Can I do it in ATL?? Pin
Tholkiem28-Sep-04 9:26
Tholkiem28-Sep-04 9:26 
AnswerRe: Friend Properties-Methods VB .Can I do it in ATL?? Pin
Tholkiem29-Sep-04 13:11
Tholkiem29-Sep-04 13:11 
GeneralPLS HELP : CreateInstance (__uuidof(SHDocVw::ShellWindows) failed Pin
SenPy28-Sep-04 7:19
SenPy28-Sep-04 7:19 
GeneralRe: PLS HELP : CreateInstance (__uuidof(SHDocVw::ShellWindows) failed Pin
User 21559730-Sep-04 0:52
User 21559730-Sep-04 0:52 
Generalcatching events Pin
dudic28-Sep-04 5:49
dudic28-Sep-04 5:49 

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.