Click here to Skip to main content
15,912,021 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: ifstream question Pin
Stuart Dootson31-Aug-08 20:19
professionalStuart Dootson31-Aug-08 20:19 
GeneralRe: ifstream question Pin
Stuart Dootson31-Aug-08 21:00
professionalStuart Dootson31-Aug-08 21:00 
QuestionDo not Open Dialog on IE7 MultipleTab Pin
preeti sharma26-Aug-08 21:23
preeti sharma26-Aug-08 21:23 
AnswerRe: Do not Open Dialog on IE7 MultipleTab Pin
Michael Dunn29-Aug-08 13:41
sitebuilderMichael Dunn29-Aug-08 13:41 
QuestionCapturing IE events with using RBDESKBAND Pin
skumar120921-Aug-08 19:45
skumar120921-Aug-08 19:45 
Questionunique problem Pin
s196675m10-Aug-08 8:10
s196675m10-Aug-08 8:10 
AnswerRe: unique problem Pin
s196675m12-Aug-08 18:34
s196675m12-Aug-08 18:34 
AnswerRe: unique problem Pin
Stuart Dootson12-Aug-08 21:38
professionalStuart Dootson12-Aug-08 21:38 
Your problem is that your expectation of what unique does is incorrect. In the MSDN Documentation for Visual Studio 2008 (and the C++ Standard says the same, but in slightly different language), it says:

Removes duplicate elements that are adjacent to each other in a specified range.

Only the first two elements of your array are of equal value and adjacent to each other.



GeneralRe: unique problem Pin
s196675m13-Aug-08 6:48
s196675m13-Aug-08 6:48 
GeneralRe: unique problem Pin
Stuart Dootson13-Aug-08 9:38
professionalStuart Dootson13-Aug-08 9:38 
GeneralRe: unique problem Pin
s196675m13-Aug-08 18:07
s196675m13-Aug-08 18:07 
GeneralRe: unique problem Pin
Stephen Hewitt19-Aug-08 14:58
Stephen Hewitt19-Aug-08 14:58 
GeneralRe: unique problem Pin
Stuart Dootson19-Aug-08 19:39
professionalStuart Dootson19-Aug-08 19:39 
GeneralRe: unique problem Pin
Stephen Hewitt19-Aug-08 19:43
Stephen Hewitt19-Aug-08 19:43 
AnswerRe: unique problem Pin
Stephen Hewitt19-Aug-08 14:59
Stephen Hewitt19-Aug-08 14:59 
QuestionAccess Vector Objects by ID Pin
Ehsan Baghaki8-Aug-08 23:04
Ehsan Baghaki8-Aug-08 23:04 
AnswerRe: Access Vector Objects by ID Pin
Stuart Dootson9-Aug-08 13:27
professionalStuart Dootson9-Aug-08 13:27 
QuestionATL OLE document container problem Pin
Member 30621765-Aug-08 21:55
Member 30621765-Aug-08 21:55 
QuestionComboBox With ActiveX Control Pin
Dabara27-Jul-08 20:07
Dabara27-Jul-08 20:07 
QuestionUnable to retrieve data from safe array Pin
Debasis1021-Jul-08 1:12
Debasis1021-Jul-08 1:12 
AnswerRe: Unable to retrieve data from safe array Pin
Stuart Dootson23-Jul-08 11:25
professionalStuart Dootson23-Jul-08 11:25 
Questionhow to Registering namespace handlers for HTTP and HTTPS protocols within the Internet Explorer process ? Pin
ftbk20-Jul-08 23:02
ftbk20-Jul-08 23:02 
AnswerRe: how to Registering namespace handlers for HTTP and HTTPS protocols within the Internet Explorer process ? Pin
Stephen Hewitt24-Jul-08 20:44
Stephen Hewitt24-Jul-08 20:44 
Questionhow to capture go event of internet explorer in vc++6 Pin
skumar120920-Jul-08 21:40
skumar120920-Jul-08 21:40 
QuestionCompilatio error : cannot convert from char to LPWSTR Pin
V K 220-Jul-08 19:16
V K 220-Jul-08 19:16 

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.