source:
CIVL/mods/dev.civl.com/examples/experimental/arrayWrite.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 227 bytes | |
| Rev | Line | |
|---|---|---|
| [f310142] | 1 | #include<civlc.cvh> |
| 2 | #include<seq.cvh> | |
| 3 | #include<pointer.cvh> | |
| 4 | ||
| 5 | void main(){ | |
| 6 | int array[][]; | |
| 7 | int a[], b[]; | |
| 8 | int x = 5; | |
| 9 | ||
| 10 | $seq_init(&a, 0, NULL); | |
| 11 | $seq_init(&b, 1, &x); | |
| 12 | $seq_init(&array, 1, &a); | |
| 13 | $copy(&array[0], &b); | |
| 14 | } |
Note:
See TracBrowser
for help on using the repository browser.
