From WikiChip
Editing c/normative addendum 1

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{c title|Normative Addendum 1}}{{C standards}}
+
{{C standards}}
 
'''Normative Addendum 1''' (also known as '''NA1''', '''C94''', and '''C95''') is a standardized amendment to the [[C]] standard published in 1995 by ISO. The amendment was added in order to address the growing international need for international character sets support in [[C]]. The amendment is formally known as '''ISO/IEC 9899/AMD1:1995''' (also ISO/IEC 9899 AM1).
 
'''Normative Addendum 1''' (also known as '''NA1''', '''C94''', and '''C95''') is a standardized amendment to the [[C]] standard published in 1995 by ISO. The amendment was added in order to address the growing international need for international character sets support in [[C]]. The amendment is formally known as '''ISO/IEC 9899/AMD1:1995''' (also ISO/IEC 9899 AM1).
  
Line 8: Line 8:
  
 
== New headers ==
 
== New headers ==
NA1 introduces 3 new standard headers: {{C|iso646.h|<iso646.h>}}, {{C|wchar.h|<wchar.h>}}, and {{C|wctype.h|<wctype.h>}}; all of which are mandatory.
+
NA1 introduces 3 new standard headers: [[iso646.h|<iso646.h>]], [[wchar.h|<wchar.h>]], and [[wctype.h|<wctype.h>]]; all of which are mandatory.
  
 
== International keyboard ==
 
== International keyboard ==
Due to growing international interest in the C language and the lack of some characters in various international keyboards, NA1 introduced {{C|iso646.h|<iso646.h>}} which defined 11 new macros that expand to operators that use ''&'', ''|'', ''~'', ''!'', and ''^''. For example the macro and_eq expands into &=.
+
Due to growing international interest in the C language and the lack of some characters in various international keyboards, NA1 introduced [[iso646.h|<iso646.h>]] which defined 11 new macros that expand to operators that use ''&'', ''|'', ''~'', ''!'', and ''^''. For example the macro and_eq expands into &=.
  
 
== Wide characters ==
 
== Wide characters ==
Line 21: Line 21:
 
</source>
 
</source>
  
Due to the lack of standardization of underling character set, it makes it very hard to write portable applications that takes advantage of wide characters since the size and the encoding varies significantly from implementation to implementation. This issue was addressed with the introduction of [[UTF-8]], [[UTF-16]], and [[UTF-32]] encoded strings in [[C11]] version of the C standard.
+
Due to the lack of standardization of underling character set, it makes it very hard to write portable applications that takes advantage of wide characters since the size and the encoding varies significantly from implementation to implementation. This issue was addressed with the introduction of UTF-8, UTF-16, and UTF-32 encoded strings in [[C11]] version of the C standard.
  
 
[[Category:C programming language]]
 
[[Category:C programming language]]
 
[[Category:C standards]]
 
[[Category:C standards]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)