Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN3350 Scheda tecnica(PDF) 93 Page - STMicroelectronics

Il numero della parte AN3350
Spiegazioni elettronici  eTPU compiler tools
PDF  185 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3350 Scheda tecnica(HTML) 93 Page - STMicroelectronics

Back Button AN3350 Datasheet HTML 89Page - STMicroelectronics AN3350 Datasheet HTML 90Page - STMicroelectronics AN3350 Datasheet HTML 91Page - STMicroelectronics AN3350 Datasheet HTML 92Page - STMicroelectronics AN3350 Datasheet HTML 93Page - STMicroelectronics AN3350 Datasheet HTML 94Page - STMicroelectronics AN3350 Datasheet HTML 95Page - STMicroelectronics AN3350 Datasheet HTML 96Page - STMicroelectronics AN3350 Datasheet HTML 97Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 93 / 185 page
background image
AN3350
C compiler
Doc ID 018512 Rev 2
93/185
12.2.3
Compound literal values
When the C99 extensions setting is on, the compiler allows literal values of structures and
arrays. Example 28 shows an example.
Example 28 Example of a compound literal
#pragma c99 on
struct my_struct {
int i;
char c[2];
} my_var;
my_var = ((struct my_struct) {x + y, 'a', 0});
12.2.4
Designated initializers
When the C99 extensions setting is on, the compiler allows an extended syntax for
specifying which structure or array members to initialize. Example 29 shows an example.
Example 29 Example of designated initializers
#pragma c99 on
struct X {
int a,b,c;
} x = { .c = 3, .a = 1, 2 };
union U {
char a;
long b;
} u = { .b = 1234567 };
int arr1[6] = { 1,2, [4] = 3,4 };
int arr2[6] = { 1, [1 ... 4] = 3,4 }; /* GCC only, not part of C99.
*/
12.2.5
Predefined Symbol __func__
When the C99 extensions setting is on, the compiler offers the __func__ predefined
variable. Example 30 shows an example.
Example 30 Predefined symbol __func__
void abc(void)
{
puts(__func__); /* Output: "abc" */
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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