basic rvvector example

This commit is contained in:
fares
2019-11-21 11:22:20 -05:00
parent 9485333970
commit f4d982b3a4
10 changed files with 86692 additions and 4386 deletions

View File

@@ -5,6 +5,28 @@
int main()
{
vx_tmc(1);
vx_vec_test();
// int * a = malloc(4);
// int * b = malloc(4);
// int * c = malloc(4);
int * a = malloc(4);
*a = 5;
printf("Value of a: %d\n", *a);
vx_vec_test(a);
printf("Value of a: %d\n", *a);
// for (int i = 0; i < 4; i++)
// {
// if (c[i] != (a[i] + b[i]))
// {
// printf("Fail\n");
// break;
// }
// }
vx_tmc(0);
}