Click here to Skip to main content
15,896,557 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questionmore on webbrowser control in the tabbrowser sample in wtl 8 Pin
Babil_JR20-Feb-09 4:23
Babil_JR20-Feb-09 4:23 
GeneralRe: more on webbrowser control in the tabbrowser sample in wtl 8 Pin
Alain Rist20-Feb-09 8:39
Alain Rist20-Feb-09 8:39 
QuestionRename VC6 project's configuations Pin
mathewzhao20-Feb-09 3:40
mathewzhao20-Feb-09 3:40 
Questionhow to get a project's active configuration [modified] Pin
mathewzhao18-Feb-09 23:24
mathewzhao18-Feb-09 23:24 
AnswerRe: how to get a project's active configuration Pin
Stuart Dootson19-Feb-09 2:01
professionalStuart Dootson19-Feb-09 2:01 
GeneralRe: how to get a project's active configuration Pin
mathewzhao19-Feb-09 3:08
mathewzhao19-Feb-09 3:08 
GeneralRe: how to get a project's active configuration Pin
Stuart Dootson19-Feb-09 3:17
professionalStuart Dootson19-Feb-09 3:17 
Questioniterator question Pin
followait18-Feb-09 2:51
followait18-Feb-09 2:51 
Why the code not work?
I think it's expected that the output should be 4, but it asserts.

#include <iostream>
#include <vector>

using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
	vector<int> v(10);
	for (int i=0; i<10; ++i)
	{
		v[i] = i;
	}

	vector<int>::iterator it = v.begin();

	it += 3;

	vector<int>::iterator it0 = it + 1;
	v.erase(it);
	
	cout << *it0 <<endl;

	cin.get();

	return 0;
}


modified on Wednesday, February 18, 2009 9:33 PM

AnswerRe: iterator question Pin
Nuri Ismail18-Feb-09 3:19
Nuri Ismail18-Feb-09 3:19 
GeneralRe: iterator question Pin
followait18-Feb-09 15:35
followait18-Feb-09 15:35 
GeneralRe: iterator question Pin
Nuri Ismail18-Feb-09 21:31
Nuri Ismail18-Feb-09 21:31 
AnswerRe: iterator question Pin
Stuart Dootson18-Feb-09 8:45
professionalStuart Dootson18-Feb-09 8:45 
AnswerRe: iterator question Pin
Stuart Dootson18-Feb-09 21:45
professionalStuart Dootson18-Feb-09 21:45 
QuestionUse a &lt;set&gt; to sort a &lt;map&gt;? Pin
Kyudos16-Feb-09 15:10
Kyudos16-Feb-09 15:10 
AnswerRe: Use a &lt;set&gt; to sort a &lt;map&gt;? Pin
«_Superman_»16-Feb-09 18:31
professional«_Superman_»16-Feb-09 18:31 
GeneralRe: Use a &lt;set&gt; to sort a &lt;map&gt;? Pin
Kyudos17-Feb-09 8:41
Kyudos17-Feb-09 8:41 
GeneralRe: Use a &lt;set&gt; to sort a &lt;map&gt;? Pin
Stuart Dootson17-Feb-09 20:41
professionalStuart Dootson17-Feb-09 20:41 
GeneralRe: Use a &lt;set&gt; to sort a &lt;map&gt;? Pin
Eytukan22-Feb-09 20:05
Eytukan22-Feb-09 20:05 
AnswerRe: Use a &lt;set&gt; to sort a &lt;map&gt;? [modified] Pin
Stuart Dootson17-Feb-09 9:22
professionalStuart Dootson17-Feb-09 9:22 
QuestionWhy basic_string doesn't support back(), but vector do? Pin
followait13-Feb-09 17:52
followait13-Feb-09 17:52 
AnswerRe: Why basic_string doesn't support back(), but vector do? Pin
«_Superman_»13-Feb-09 19:44
professional«_Superman_»13-Feb-09 19:44 
AnswerRe: Why basic_string doesn't support back(), but vector do? Pin
Stuart Dootson15-Feb-09 4:03
professionalStuart Dootson15-Feb-09 4:03 
QuestionHow do we Inherit struct from another struct in IDL file Pin
Gopal_Kanchana11-Feb-09 23:44
Gopal_Kanchana11-Feb-09 23:44 
QuestionHow to trap Excel 2007 cell events using ATL addin Pin
SNI11-Feb-09 2:18
SNI11-Feb-09 2:18 
QuestionProblem with ATL COM Dll.... Firing event in thread Pin
chetanjoshi910-Feb-09 20:15
chetanjoshi910-Feb-09 20:15 

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.