> I've always thought that using stl strings was generally safer than char*,
> but could anyone comment on the below?
> 
> string s = "";
> s[2] = 'x';

http://www.roguewave.com/support/docs/ (see the "string" docs)

You might need to do a resize() first.

Jon


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to