> I try to use egcs with stl but I can't use string. > Look this : > #include <stdlib.h> > #include <stdio.h> > #include <string> > > using namespace std; > > void main() { > string str; > > str = "foo"; > > printf("%d\n", str.length); I'm sure you meant 'str.length()' here instead. Martin