Re: K&R Exercise 6-2



Richard Heathfield wrote:
[...]
In C90, an implementation must be able to distinguish between external identifiers that are unique in the first 6 characters (without regard to case!). A program such as the one required in Exercise 6-2 could be useful for diagnosing source code that ignores this limit (as I suspect a vast amount of source code does).

So a library which exports e.g. the identifiers string_prepend and string_append are not really C90 compliant?


August
.



Relevant Pages

  • Re: The standard I/O problems
    ... source code was in seven-bit characters. ... Eddies in the input stream: The input stream, ... strings, MOVE whole strings from place to place, and TYPE strings, then ...
    (comp.lang.forth)
  • The standard I/O problems
    ... source code was in seven-bit characters. ... Eddies in the input stream: The input stream, ... strings, MOVE whole strings from place to place, and TYPE strings, then ...
    (comp.lang.forth)
  • Re: dynamicly build a list of strings?
    ... strlcpy guarantees null termination ... the string buffer with redundant NULs. ... count of characters and then manually terminate the string). ... The source code for this function was obtained from the ...
    (comp.lang.c)
  • Re: Understanding Error Messages
    ... Go into HEX mode in ISPF edit of your SOURCE code and look at what is in column ... COBOL characters as seen in HEX MODE edit of your source code. ... HOW you got the bad data in your source file in the first place is another ...
    (comp.lang.cobol)
  • Re: OemToChar() question
    ... OemToChar does not handle this. ... page 437) as the source code page when converting to Unicode characters. ...
    (microsoft.public.win32.programmer.kernel)