Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _tcscpy Vs lstrcpy Pin
Blake Miller22-Dec-05 5:41
Blake Miller22-Dec-05 5:41 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 16:23
Nishad S22-Dec-05 16:23 
AnswerRe: _tcscpy Vs lstrcpy Pin
ThatsAlok22-Dec-05 0:53
ThatsAlok22-Dec-05 0:53 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 0:56
Nishad S22-Dec-05 0:56 
AnswerRe: _tcscpy Vs lstrcpy Pin
Aamir Butt22-Dec-05 18:58
Aamir Butt22-Dec-05 18:58 
GeneralRe: _tcscpy Vs lstrcpy Pin
Nishad S22-Dec-05 19:01
Nishad S22-Dec-05 19:01 
Questiontemplate with Iterator - some Problems Pin
tbrake22-Dec-05 0:08
tbrake22-Dec-05 0:08 
AnswerRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 0:47
Sebastian Schneider22-Dec-05 0:47 
Moin,

if you want to rewrite the STL's queue, the iterator should be used as follows:

TQueue<CPointPlus>::Iterator PointIter;

And then you could use it in a for-loop as follows:

for(PointIter = queue.begin(); PointIter != queue.end(); PointIter++)
{
}

I hope that gets you back on track. And if you have worked with the STL before, have a look at my problem and give me some hints Wink | ;)

Der Weg ist das Ziel Wink | ;)

For everyone not speaking German (in order to better understand tbrakes code):

Aktuell = current, actual
Alt = old
Punkt = point
The german comment says: overwrite at current pointer and move to next.

Cheers,
Sebastian

--
Contra vim mortem non est medicamen in hortem.

-- modified at 7:41 Thursday 22nd December, 2005
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 0:57
tbrake22-Dec-05 0:57 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 1:23
Sebastian Schneider22-Dec-05 1:23 
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 1:43
tbrake22-Dec-05 1:43 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 2:04
Sebastian Schneider22-Dec-05 2:04 
GeneralRe: template with Iterator - some Problems Pin
tbrake22-Dec-05 2:21
tbrake22-Dec-05 2:21 
GeneralRe: template with Iterator - some Problems Pin
Sebastian Schneider22-Dec-05 2:36
Sebastian Schneider22-Dec-05 2:36 
QuestionSTL: C2064 on sort() of a vector Pin
Sebastian Schneider21-Dec-05 23:43
Sebastian Schneider21-Dec-05 23:43 
AnswerRe: STL: C2064 on sort() of a vector Pin
toxcct22-Dec-05 0:22
toxcct22-Dec-05 0:22 
GeneralRe: STL: C2064 on sort() of a vector Pin
Sebastian Schneider22-Dec-05 0:39
Sebastian Schneider22-Dec-05 0:39 
GeneralRe: STL: C2064 on sort() of a vector Pin
toxcct22-Dec-05 2:16
toxcct22-Dec-05 2:16 
GeneralRe: STL: C2064 on sort() of a vector Pin
Sebastian Schneider22-Dec-05 2:43
Sebastian Schneider22-Dec-05 2:43 
QuestionConverting double to BYTE array Pin
ba5h33r21-Dec-05 23:36
ba5h33r21-Dec-05 23:36 
AnswerRe: Converting double to BYTE array Pin
toxcct22-Dec-05 0:20
toxcct22-Dec-05 0:20 
AnswerRe: Converting double to BYTE array Pin
kakan22-Dec-05 0:51
professionalkakan22-Dec-05 0:51 
GeneralRe: Converting double to BYTE array Pin
toxcct22-Dec-05 0:56
toxcct22-Dec-05 0:56 
GeneralRe: Converting double to BYTE array Pin
kakan22-Dec-05 1:00
professionalkakan22-Dec-05 1:00 
GeneralRe: Converting double to BYTE array Pin
toxcct22-Dec-05 1:02
toxcct22-Dec-05 1:02 

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.