User forums > Using Code::Blocks

Why watch window doesnt work?

(1/1)

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;
};

Navigation

[0] Message Index

Go to full version