source:
CIVL/mods/dev.civl.com/examples/experimental/arrayWrite.cvl@
bc0fbae
| Last change on this file since bc0fbae was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 227 bytes | |
| Line | |
|---|---|
| 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.
