News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Why watch window doesnt work?

Started by tim777, January 07, 2007, 01:47:24 PM

Previous topic - Next topic

tim777

Why I cant see in watch window the value of *my_strings.begin() from the small code:

#include <string>
#include <iostream>
#include <set>

using namespace std;
set<string> my_strings;

int main()
{
  my_strings.insert("test");
  cout << *my_strings.begin();
  return 0;
};