29.11.2009, 06:55
I almost guarantee that your error is coming from string being defined already. Try not defining it and just use it in print without the "new string[256];" . And on a sidenote, 256 is a little over the top for a string with the use you are intending.