source: CIVL/examples/experimental/arrayWrite.cvl@ bb03188

main test-branch
Last change on this file since bb03188 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 227 bytes
Line 
1#include<civlc.cvh>
2#include<seq.cvh>
3#include<pointer.cvh>
4
5void 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.