One Black Bada and his zocks

Beware! Zocks might be hidden in honey jars.

Thursday, September 12, 2013

Dual personality of while

At a first glance nothing special. Then you see dual personality
   while(1)
   {
      ch = ::CharPrev(m_str1, ch);
      TestString s(ch);
   } while (ch!=m_str1);
Posted by Unknown at 1:50 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: C++, humor

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2018 (1)
    • ►  June (1)
  • ►  2016 (3)
    • ►  August (1)
    • ►  March (2)
  • ►  2015 (3)
    • ►  November (1)
    • ►  September (1)
    • ►  August (1)
  • ►  2014 (7)
    • ►  October (2)
    • ►  September (1)
    • ►  August (2)
    • ►  June (1)
    • ►  May (1)
  • ▼  2013 (16)
    • ▼  September (6)
      • Embedding C++ code analysis into Visual Studio
      • Line count with .bat
      • Suggest using of Visual Assist X
      • Dual personality of while
      • Cure for broken TEXTINCLUDE section of VC++ resour...
      • Why is UTF-8 treated as not multibyte?
    • ►  August (3)
    • ►  July (1)
    • ►  June (4)
    • ►  April (2)
  • ►  2012 (1)
    • ►  December (1)

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.