| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 96 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 96 Page - STMicroelectronics |
|
96 / 185 page ![]() C compiler AN3350 96/185 Doc ID 018512 Rev 2 0x1.8p0L The standard library supports printing values of type float in this format using the “%a” and “%A” specifiers. 12.2.14 Variable-length arrays Variable length arrays are supported within local or function prototype scope, as required by the ISO/IEC 9899-1999 (“C99”) standard. Example 33 shows an example. Example 33 Example of C99 variable length array usage #pragma c99 on void f(int n) { int arr[n]; /* ... */ } While the example shown in Example 34 generates an error message. Example 34 Bad example of C99 variable length array usage #pragma c99 on int n; int arr[n]; // ERROR: variable length array // types can only be used in local or // function prototype scope. A variable length array cannot be used in a function template’s prototype scope or in a local template typedef, as shown in Example 35. Example 35 Bad example of C99 usage in function prototype #pragma c99 on template<typename T> int f(int n, int A[n][n]); { }; // ERROR: variable length arrays // cannot be used in function template prototypes // or local template variables 12.2.15 Unsuffixed decimal literal values Example 36 shows an example of specifying decimal literal values without a suffix to specify the literal’s type. Example 36 Examples of C99 unsuffixed constants #pragma c99 on // Note: ULONG_MAX == 4294967295 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |