Charles,
I'm now getting warnings with this version.
jrs@laptop:~/C_BASIC$ gcc cbas_oop2.c
cbas_oop2.c: In function ‘VectorRedim’:
cbas_oop2.c:100:5: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
cbas_oop2.c:102:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
cbas_oop2.c: In function ‘NewVector’:
cbas_oop2.c:139:5: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
cbas_oop2.c: In function ‘FreeVector’:
cbas_oop2.c:148:5: warning: incompatible implicit declaration of built-in function ‘free’ [enabled by default]
jrs@laptop:~/C_BASIC$ ./a.out
36
4.000000,8.000000,12.000000
jrs@laptop:~/C_BASIC$