Thread: Digraph sequence cannot be included in another token string. Why is that?

  1. #1
    Registered User
    Join Date
    Nov 2017
    Posts
    34

    Unhappy Digraph sequence cannot be included in another token string. Why is that?

    If a digraph sequence occurs inside another token, for example a quoted string, or a character constant, it will not be replaced.

    Link: Digraphs and trigraphs - Wikipedia

  2. #2
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,739
    Many compilers choose to opt-out on digraphs and trigraphs or impose their own rules on them, like not being able to occur inside a string. They were always kind-of a niche thing, useless to almost everyone.
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Not recognizing string type even though it is included
    By Mn3MoN1C in forum C++ Programming
    Replies: 6
    Last Post: 10-13-2009, 06:52 PM
  2. String/token parsing
    By Mostly Harmless in forum C++ Programming
    Replies: 3
    Last Post: 03-04-2008, 09:49 AM
  3. Replies: 15
    Last Post: 05-17-2007, 03:10 PM
  4. How come I can't compare a string token?
    By rakan in forum C++ Programming
    Replies: 4
    Last Post: 09-24-2006, 08:45 PM
  5. function that copies token from a string not working
    By Kinasz in forum C Programming
    Replies: 6
    Last Post: 08-07-2004, 12:34 AM

Tags for this Thread