NO

Author Topic: this is a bug ?  (Read 2789 times)

sixth

  • Guest
this is a bug ?
« on: March 14, 2011, 07:19:20 PM »
char *Text = "??<";
char TextLen[12];

_itoa(strlen(Text),TextLen,10);
MessageBox(0,Text,TextLen,0);

output:
Text = "}"
TextLen = 1

sory my english little if Text change to "?l<" then not any prob.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: this is a bug ?
« Reply #1 on: March 14, 2011, 08:54:15 PM »
read this:
http://en.wikipedia.org/wiki/Digraphs_and_trigraphs

Trigraph   Equivalent
??<   {
May the source be with you

sixth

  • Guest
Re: this is a bug ?
« Reply #2 on: March 14, 2011, 09:41:14 PM »
read this:
http://en.wikipedia.org/wiki/Digraphs_and_trigraphs

Trigraph   Equivalent
??<   {

thanks for reply and link