From a268f1b76853104d78263090a11d866c7e6d6850 Mon Sep 17 00:00:00 2001 From: Chris Fadden Date: Mon, 16 Mar 2015 14:01:15 -0400 Subject: [PATCH] Modified I/O in the vector class --- ChrisTest/.ChrisVec.krak.un~ | Bin 60285 -> 0 bytes ChrisTest/.ChrisVecTest.krak.un~ | Bin 13231 -> 0 bytes ChrisTest/.ErrorLog.txt.un~ | Bin 1843 -> 0 bytes ChrisTest/.HelloWorld.krak.un~ | Bin 13547 -> 0 bytes ChrisTest/.SupressOut.sh.un~ | Bin 1406 -> 0 bytes ChrisTest/DotProdTest/DotProdTest | Bin 13872 -> 0 bytes ChrisTest/DotProdTest/DotProdTest.c | 362 --------------------------- ChrisTest/DotProdTest/DotProdTest.h | 155 ------------ ChrisTest/DotProdTest/DotProdTest.sh | 2 - stdlib/.io.krak.un~ | Bin 1369 -> 0 bytes stdlib/vector.krak | 6 +- 11 files changed, 4 insertions(+), 521 deletions(-) delete mode 100644 ChrisTest/.ChrisVec.krak.un~ delete mode 100644 ChrisTest/.ChrisVecTest.krak.un~ delete mode 100644 ChrisTest/.ErrorLog.txt.un~ delete mode 100644 ChrisTest/.HelloWorld.krak.un~ delete mode 100644 ChrisTest/.SupressOut.sh.un~ delete mode 100755 ChrisTest/DotProdTest/DotProdTest delete mode 100644 ChrisTest/DotProdTest/DotProdTest.c delete mode 100644 ChrisTest/DotProdTest/DotProdTest.h delete mode 100644 ChrisTest/DotProdTest/DotProdTest.sh delete mode 100644 stdlib/.io.krak.un~ diff --git a/ChrisTest/.ChrisVec.krak.un~ b/ChrisTest/.ChrisVec.krak.un~ deleted file mode 100644 index 1fa0c76a81ee3e576ca411f2287137743817d089..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 60285 zcmWH`%$*;a=aT=Ff$5v$mA7~87`r2P2!8!pu)2Oi!G>!6yq@68uiutD+WTx90|SE* z0|SGYfuhgO-O{KUn;z`%`G7K5S%R7S&`0*W$FG=ZaXG@4++LMu9yjdK~k z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)YXX0M*Rk3xIO+U{?SYE9B*aZ~rMy%uNNi zkrB85fTAxQ$*G{I1w}hpXta<72Lt&8aug!7k)!iAa&&@n66ic)^jrsu7SQ%4m{UMe z22wYA77{E(D4~&~2APc%O*b=;qe+y3fdRB84m5HBDjY$bWoR`9iW$(%C(J#dSd)Tr zMl%#FB*>(ZV+Way98>#|V+yoj6m;1Y1`2-kXaYqG=!6NFQ$SG$QVZJCKH4aRg$lVea?~KRk)!E5wn7gy=n5+Izync< zdBqC03LsKjArUlQrKOMr8mxlWTc9WdO?<)}35rfo6oPW)XcWRign4xU9)4*{H?YM)Ebp#!J1=>~tiZsOJKI+m|g+v|XqtB9H z2M&UwuN29tpr{2!Cujh4G&+$2hBnMlw%d8&=oEltRrKi8gRj*9M<-<64Q#1c4X#K9 zMIxx!hPfFO!Jt|d%pVFchk(vP0Bw;16{WCf0!2#&k~=_A1{(ha9oaitL?Q(Y zZJ42KcND?7NeB{6ph;}dauZlIfxGPBiE-GpxI&UbX0bwk8hA$BNCoViHz%!ZIa4d`C?UXr>9)lLy5TXmK{oVW1cUTKK9AJv}|}O5O7OqHKG6d(i!tkfZ|2rJ$$e0y%!kh+a^1HX%73 z6xE;-9yFpf8ofvXLmOr&+r4b$=mlk6Q1FAYFQ|l9C8~r6xeYvLhF*X}wt6Ei$jgKk z+n{)E2I+%hP#OT~2FKD}U8jVY&fT0aDlW^bwFbP diff --git a/ChrisTest/.ChrisVecTest.krak.un~ b/ChrisTest/.ChrisVecTest.krak.un~ deleted file mode 100644 index f8608e6584e26f6db9ae1964801982f557d6964f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13231 zcmWH`%$*;a=aT=Ff$3F8$v@@8GSjBc+rKv0;`QAL3w8I8fiQ^8@c;k+{|wAv<|sjv z5C~<9{sE2-28OQ^Xf}YO!L$(^O&~UMM1Z1<3#J|%O&}F8fl->uArQ(Iqlp|%oD2*M z+)xY-cxW_%qJ;&?Zcvo5GB7akgTzLo2^0#n#G!04;mFYhiV8NQXcEZGEyyn_QE<*E z$}A2`O}2(c8!Vb&ZUgB9MKPE^8g1ZUpdk^;7L$b>Z5#{?3_M8D#sG~bP_%%e6Xq09 z&KfNQVWB~DI+QIY7aUDYkh%(#LqLTfF9QR(y#b3RP_(ckxds$vplFf>iH+taP$ zP_|q5k)sKeLqNeV%D}(?Y6=P~C@3f-g{3CzC8ngf=A~$4YFdMw18(XIFfcHH@+C+y zavKs9hoIsTq!5Hb@e48()JTE!$iS*WQlpsqArQ)T>mzcUf}#nO?LZh5@XQJdwb1qm zC}uzvAj}bNBcL)5l$p?@2^1}$HVVugpeO@1L%{seXaWZV4T(^;+l|Q4 z1j!D46oQ&AFvo+U7ZlB4{%Fnv2Lla>P`3Nr;3$O_kf4GP6b0xx z4F$Rr$gE9^CL$Ss2&3i*`wzsP_%&B>o5m_q72l=2lGdB6F3-X zNQAQ87e`J!S=kYG_^q z#SExD3Udo6)%L zkM{S#!9YVIlb{y_N(6eXaDf(>$kq6O5`gE<8x4^jt?s?lhI1q-d{P`3LU zkfR9{?4Vi+6b+zg!qYICygBOM$JG$caV9(sc#9hy5q{Weg}1QnW~ zXhO6wK@o%O5KyFnTAg6A(TD;E0}Y8#wuipph+>E2PEZ~JwI)IN2NY2Zrj5^60RZ(Y Baq|EG diff --git a/ChrisTest/.ErrorLog.txt.un~ b/ChrisTest/.ErrorLog.txt.un~ deleted file mode 100644 index 4a2cdf11502ba1368acd91bd44b6f7a91e4f2b0b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1843 zcmWH`%$*;a=aT=Ffhj*|^Yr6Eo_$hr%V!)`KKz5_F1!6t!MdII-L!ZAjjq_lz`(%7 zz`!7=XseK$nVwOike6SgP@Z3u4VB2msMA%n-`PQO5$3EgPEfQO+p})^_K`ZIv5zfN}$;Qjt0|4a5RC~$PodGGB%ic za5RBbzywBVDu+NQ>n{`JXkukxU|@%0aKJ;O2^1|XNOpsw45St;G#X9dV4xup%KFO^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fHCp~6$U8<<4!dFuyIERs6z0ZIanoxfc3LsG-w6QBtXT|GMg2Gsq~rXCbFAPnQf=+|iaVdKRWQ2mhH2+|3`Fnur@v_c(}eqrv1jVtef>W8@# zq8l;q2jl;O&IQ8s!}`%Dp!#9iGeUoKd5{K@nIOG7Q}|p zpnfpSZjd+(i-9U8klSDip%Q3Z(2NUo1s7BSlv02e`~lDjNzix@Xv-GNKhWgC0Lq`( U>@QG*7-R#}0O5k|gEGMs0I`6PCIA2c diff --git a/ChrisTest/DotProdTest/DotProdTest.c b/ChrisTest/DotProdTest/DotProdTest.c deleted file mode 100644 index 39ee4cf..0000000 --- a/ChrisTest/DotProdTest/DotProdTest.c +++ /dev/null @@ -1,362 +0,0 @@ -#include "DotProdTest.h" - -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/** - * Variable Declarations - */ - -/** - * Function Definitions - */ - - -double dot_vector_lessthan_double_greaterthan__vector_lessthan_double_greaterthan_(vector_lessthan_double_greaterthan_ a, vector_lessthan_double_greaterthan_ b) -{ - if (((((a).size))<(((b).size)))) - { - println_char_P__("Error: Vectors not of same size") ; - print_char_P__("Vector a is of size: ") ; - println_int(((a).size)) ; - print_char_P__("Vector b is of size: ") ; - println_int(((b).size)) ; - println_char_P__("Did you know that Grover Cleveland served two seperate terms as President of the United States, four years apart?") ; - }; -; - double ans = 0;; - for ( int i = 0;((i)<(lesser_lessthan_int_greaterthan__int_int(((a).size), ((b).size)) )); i++) - { - ans = ((ans)+(((vector_lessthan_double_greaterthan___at_int(&a,i) )*(vector_lessthan_double_greaterthan___at_int(&b,i) )))); - }; -; - println_double(ans) ; - return ans; -} -int main() -{ - vector_lessthan_double_greaterthan_ aVec; vector_lessthan_double_greaterthan___construct(&aVec) /*Init Position Call*/; - vector_lessthan_double_greaterthan_ bVec; vector_lessthan_double_greaterthan___construct(&bVec) /*Init Position Call*/; - double j;; - for ( int i = 0;((i)<(4)); i++) - { - j = ((i)+(0.0)); - vector_lessthan_double_greaterthan___addEnd_double(&aVec,j) ; - vector_lessthan_double_greaterthan___addEnd_double(&bVec,j) ; - }; -; - vector_lessthan_double_greaterthan___addEnd_double(&bVec,12.3) ; - double dotProd = dot_vector_lessthan_double_greaterthan__vector_lessthan_double_greaterthan_(aVec, bVec) ;; - return 0; - vector_lessthan_double_greaterthan___destruct(&aVec); - vector_lessthan_double_greaterthan___destruct(&bVec); -} -void print_char_P__(char* toPrint) -{ - { - - printf(toPrint); - ; - }; - return; -} -void print_string(string toPrint) -{ - print_char_P__(string__toCharArray(&toPrint) ) ; -} -void print_int(int toPrint) -{ - { - - printf("%d", toPrint); - ; - }; - return; -} -void print_float(float toPrint) -{ - { - - printf("%f", toPrint); - ; - }; - return; -} -void print_double(double toPrint) -{ - { - - printf("%f", toPrint); - ; - }; - return; -} -void println() -{ - print_char_P__("\n") ; -} -void println_char_P__(char* toPrint) -{ - print_char_P__(toPrint) ; - println() ; -} -void println_string(string toPrint) -{ - println_char_P__(string__toCharArray(&toPrint) ) ; -} -void println_int(int toPrint) -{ - print_int(toPrint) ; - println() ; -} -void println_float(float toPrint) -{ - print_float(toPrint) ; - println() ; -} -void println_double(double toPrint) -{ - print_double(toPrint) ; - println() ; -} -void delete_lessthan_char_greaterthan__char_P__(char* toDelete) -{ - free(toDelete) ; -} -void delete_lessthan_char_greaterthan__char_P___int(char* toDelete, int itemCount) -{ - delete_lessthan_char_greaterthan__char_P__(toDelete) ; -} -void delete_lessthan_double_greaterthan__double_P__(double* toDelete) -{ - free(toDelete) ; -} -void delete_lessthan_double_greaterthan__double_P___int(double* toDelete, int itemCount) -{ - delete_lessthan_double_greaterthan__double_P__(toDelete) ; -} -char* malloc_lessthan_char_greaterthan__int(int size) -{ - char* memPtr = 0;; - { - - memPtr = malloc(size); - ; - }; - return memPtr; -} -double* malloc_lessthan_double_greaterthan__int(int size) -{ - double* memPtr = 0;; - { - - memPtr = malloc(size); - ; - }; - return memPtr; -} -char* new_lessthan_char_greaterthan__int(int count) -{ - return malloc_lessthan_char_greaterthan__int(((sizeof_lessthan_char_greaterthan_() )*(count))) ; -} -double* new_lessthan_double_greaterthan__int(int count) -{ - return malloc_lessthan_double_greaterthan__int(((sizeof_lessthan_double_greaterthan_() )*(count))) ; -} -int sizeof_lessthan_char_greaterthan_() -{ - int result = 0;; - char testObj;; - { - - result = sizeof(testObj); - ; - }; - return result; -} -int sizeof_lessthan_double_greaterthan_() -{ - int result = 0;; - double testObj;; - { - - result = sizeof(testObj); - ; - }; - return result; -}/* Method Definitions for string */ - -string* string__construct(string* this) -{ - vector_lessthan_char_greaterthan___construct(&this->data) ; - return this; -} - -string* string__construct_char_P__(string* this, char* str) -{ - vector_lessthan_char_greaterthan___construct(&this->data) ; - while (*(str)) - { - vector_lessthan_char_greaterthan___addEnd_char(&this->data,*(str)) ; - str = ((str)+(1)); - }; -; - return this; -} - -char* string__toCharArray(string* this) -{ - char* out = new_lessthan_char_greaterthan__int(((this->data).size)) ;; - for ( int i = 0;((i)<(((this->data).size))); i++) - (out)[i] = vector_lessthan_char_greaterthan___get_int(&this->data,i) ; -; - return out; -} -/* Done with string */ - -int lesser_lessthan_int_greaterthan__int_int(int a, int b) -{ - if (((a)>(b))) - return b; -; - return a; -}/* Method Definitions for vector */ - -vector_lessthan_char_greaterthan_* vector_lessthan_char_greaterthan___construct(vector_lessthan_char_greaterthan_* this) -{ - this->size = 0; - this->available = 8; - this->data = new_lessthan_char_greaterthan__int(8) ; - return this; -} - -void vector_lessthan_char_greaterthan___destruct(vector_lessthan_char_greaterthan_* this) -{ - delete_lessthan_char_greaterthan__char_P__(this->data) ; -} - -bool vector_lessthan_char_greaterthan___resize_int(vector_lessthan_char_greaterthan_* this, int newSize) -{ - char* newData = new_lessthan_char_greaterthan__int(newSize) ;; - if (!(newData)) - return false; -; - for ( int i = 0;((i)<(lesser_lessthan_int_greaterthan__int_int(this->size, newSize) )); i++) - (newData)[i] = (this->data)[i]; -; - delete_lessthan_char_greaterthan__char_P___int(this->data, 0) ; - this->data = newData; - this->available = newSize; - return true; -} - -char vector_lessthan_char_greaterthan___at_int(vector_lessthan_char_greaterthan_* this, int index) -{ - return vector_lessthan_char_greaterthan___get_int(this,index) ; -} - -char vector_lessthan_char_greaterthan___get_int(vector_lessthan_char_greaterthan_* this, int index) -{ - if (((((index)<(0)))||(((index)>=(this->size))))) - { - return (this->data)[0]; - }; -; - return (this->data)[index]; -} - -char* vector_lessthan_char_greaterthan___getBackingMemory(vector_lessthan_char_greaterthan_* this) -{ - return this->data; -} - -void vector_lessthan_char_greaterthan___set_int_char(vector_lessthan_char_greaterthan_* this, int index, char dataIn) -{ - if (((((index)<(0)))||(((index)>=(this->size))))) - return; -; - (this->data)[index] = dataIn; -} - -void vector_lessthan_char_greaterthan___addEnd_char(vector_lessthan_char_greaterthan_* this, char dataIn) -{ - this->size++; - if (((this->size)>=(this->available))) - vector_lessthan_char_greaterthan___resize_int(this,((this->size)*(2))) ; -; - (this->data)[((this->size)-(1))] = dataIn; -} -/* Done with vector */ -/* Method Definitions for vector */ - -vector_lessthan_double_greaterthan_* vector_lessthan_double_greaterthan___construct(vector_lessthan_double_greaterthan_* this) -{ - this->size = 0; - this->available = 8; - this->data = new_lessthan_double_greaterthan__int(8) ; - return this; -} - -void vector_lessthan_double_greaterthan___destruct(vector_lessthan_double_greaterthan_* this) -{ - delete_lessthan_double_greaterthan__double_P__(this->data) ; -} - -bool vector_lessthan_double_greaterthan___resize_int(vector_lessthan_double_greaterthan_* this, int newSize) -{ - double* newData = new_lessthan_double_greaterthan__int(newSize) ;; - if (!(newData)) - return false; -; - for ( int i = 0;((i)<(lesser_lessthan_int_greaterthan__int_int(this->size, newSize) )); i++) - (newData)[i] = (this->data)[i]; -; - delete_lessthan_double_greaterthan__double_P___int(this->data, 0) ; - this->data = newData; - this->available = newSize; - return true; -} - -double vector_lessthan_double_greaterthan___at_int(vector_lessthan_double_greaterthan_* this, int index) -{ - return vector_lessthan_double_greaterthan___get_int(this,index) ; -} - -double vector_lessthan_double_greaterthan___get_int(vector_lessthan_double_greaterthan_* this, int index) -{ - if (((((index)<(0)))||(((index)>=(this->size))))) - { - return (this->data)[0]; - }; -; - return (this->data)[index]; -} - -double* vector_lessthan_double_greaterthan___getBackingMemory(vector_lessthan_double_greaterthan_* this) -{ - return this->data; -} - -void vector_lessthan_double_greaterthan___set_int_double(vector_lessthan_double_greaterthan_* this, int index, double dataIn) -{ - if (((((index)<(0)))||(((index)>=(this->size))))) - return; -; - (this->data)[index] = dataIn; -} - -void vector_lessthan_double_greaterthan___addEnd_double(vector_lessthan_double_greaterthan_* this, double dataIn) -{ - this->size++; - if (((this->size)>=(this->available))) - vector_lessthan_double_greaterthan___resize_int(this,((this->size)*(2))) ; -; - (this->data)[((this->size)-(1))] = dataIn; -} -/* Done with vector */ diff --git a/ChrisTest/DotProdTest/DotProdTest.h b/ChrisTest/DotProdTest/DotProdTest.h deleted file mode 100644 index d28375f..0000000 --- a/ChrisTest/DotProdTest/DotProdTest.h +++ /dev/null @@ -1,155 +0,0 @@ -#include -#include -#include -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/*unknown declaration named translation_unit*/ -/** - * Plain Typedefs - */ - -/*typedef string */ -typedef struct __struct_dummy_string__ string; -/*typedef vector */ -/* non instantiated template vector *//*typedef vector */ -typedef struct __struct_dummy_vector_lessthan_char_greaterthan___ vector_lessthan_char_greaterthan_; -/*typedef vector */ -typedef struct __struct_dummy_vector_lessthan_double_greaterthan___ vector_lessthan_double_greaterthan_; -/** - * Import Includes - */ - -/** - * Extern Variable Declarations - */ - -/** - * Class Structs - */ - -struct __struct_dummy_vector_lessthan_double_greaterthan___ { - double* data; - int size; - int available; -}; -struct __struct_dummy_vector_lessthan_char_greaterthan___ { - char* data; - int size; - int available; -}; -struct __struct_dummy_string__ { - vector_lessthan_char_greaterthan_ data; -}; -/** - * Function Prototypes - */ - - -double dot_vector_lessthan_double_greaterthan__vector_lessthan_double_greaterthan_(vector_lessthan_double_greaterthan_ a, vector_lessthan_double_greaterthan_ b); /*func*/ - -int main(); /*func*/ - -void print_char_P__(char* toPrint); /*func*/ - -void print_string(string toPrint); /*func*/ - -void print_int(int toPrint); /*func*/ - -void print_float(float toPrint); /*func*/ - -void print_double(double toPrint); /*func*/ - -void println(); /*func*/ - -void println_char_P__(char* toPrint); /*func*/ - -void println_string(string toPrint); /*func*/ - -void println_int(int toPrint); /*func*/ - -void println_float(float toPrint); /*func*/ - -void println_double(double toPrint); /*func*/ -/* template function delete NoValue */ -/* template function delete NoValue */ -/* template function delete NoValue */ -/* template function delete NoValue */ - -void delete_lessthan_char_greaterthan__char_P__(char* toDelete); /*func*/ - -void delete_lessthan_char_greaterthan__char_P___int(char* toDelete, int itemCount); /*func*/ - -void delete_lessthan_double_greaterthan__double_P__(double* toDelete); /*func*/ - -void delete_lessthan_double_greaterthan__double_P___int(double* toDelete, int itemCount); /*func*/ -/* template function free NoValue */ -/* template function malloc NoValue */ - -char* malloc_lessthan_char_greaterthan__int(int size); /*func*/ - -double* malloc_lessthan_double_greaterthan__int(int size); /*func*/ -/* template function new NoValue */ -/* template function new NoValue */ - -char* new_lessthan_char_greaterthan__int(int count); /*func*/ - -double* new_lessthan_double_greaterthan__int(int count); /*func*/ -/* template function sizeof NoValue */ - -int sizeof_lessthan_char_greaterthan_(); /*func*/ - -int sizeof_lessthan_double_greaterthan_(); /*func*/ -/* Method Prototypes for string */ - -string* string__construct(string* this); - -string* string__construct_char_P__(string* this, char* str); - -char* string__toCharArray(string* this); -/* Done with string */ -/* template function greater NoValue */ -/* template function lesser NoValue */ - -int lesser_lessthan_int_greaterthan__int_int(int a, int b); /*func*/ -/* Method Prototypes for vector */ - -vector_lessthan_char_greaterthan_* vector_lessthan_char_greaterthan___construct(vector_lessthan_char_greaterthan_* this); - -void vector_lessthan_char_greaterthan___destruct(vector_lessthan_char_greaterthan_* this); - -bool vector_lessthan_char_greaterthan___resize_int(vector_lessthan_char_greaterthan_* this, int newSize); - -char vector_lessthan_char_greaterthan___at_int(vector_lessthan_char_greaterthan_* this, int index); - -char vector_lessthan_char_greaterthan___get_int(vector_lessthan_char_greaterthan_* this, int index); - -char* vector_lessthan_char_greaterthan___getBackingMemory(vector_lessthan_char_greaterthan_* this); - -void vector_lessthan_char_greaterthan___set_int_char(vector_lessthan_char_greaterthan_* this, int index, char dataIn); - -void vector_lessthan_char_greaterthan___addEnd_char(vector_lessthan_char_greaterthan_* this, char dataIn); -/* Done with vector */ -/* Method Prototypes for vector */ - -vector_lessthan_double_greaterthan_* vector_lessthan_double_greaterthan___construct(vector_lessthan_double_greaterthan_* this); - -void vector_lessthan_double_greaterthan___destruct(vector_lessthan_double_greaterthan_* this); - -bool vector_lessthan_double_greaterthan___resize_int(vector_lessthan_double_greaterthan_* this, int newSize); - -double vector_lessthan_double_greaterthan___at_int(vector_lessthan_double_greaterthan_* this, int index); - -double vector_lessthan_double_greaterthan___get_int(vector_lessthan_double_greaterthan_* this, int index); - -double* vector_lessthan_double_greaterthan___getBackingMemory(vector_lessthan_double_greaterthan_* this); - -void vector_lessthan_double_greaterthan___set_int_double(vector_lessthan_double_greaterthan_* this, int index, double dataIn); - -void vector_lessthan_double_greaterthan___addEnd_double(vector_lessthan_double_greaterthan_* this, double dataIn); -/* Done with vector */ diff --git a/ChrisTest/DotProdTest/DotProdTest.sh b/ChrisTest/DotProdTest/DotProdTest.sh deleted file mode 100644 index e882242..0000000 --- a/ChrisTest/DotProdTest/DotProdTest.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cc -std=c99 DotProdTest.c -o DotProdTest \ No newline at end of file diff --git a/stdlib/.io.krak.un~ b/stdlib/.io.krak.un~ deleted file mode 100644 index 550e9d80772f6d049166801609184ecf9bfa1688..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1369 zcmWH`%$*;a=aT=FfoYZGH^v_oK3$dn`<4{S3eWU8p7mS%=j7Vk7as@aWChP=U|PqCWiP6Pz6j-8bpDlTtN&F{{R2~e+G~Uh%<_55CWlW z>|x;OU|{$v!N9=af@B9c;7uFB(F9_H;t(bciZVACXEd5%AwerTl#M+aIhsH@#FK%6 y!HX2(J~_d diff --git a/stdlib/vector.krak b/stdlib/vector.krak index 61e55fc..512a0f6 100644 --- a/stdlib/vector.krak +++ b/stdlib/vector.krak @@ -1,6 +1,6 @@ import mem:*; import util:*; -//import io:*; +import io:*; typedef template vector (Destructable) { |T*| data; @@ -36,7 +36,9 @@ typedef template vector (Destructable) { |T| get(|int| index) { if (index < 0 || index >= size) { - // println("Vector access out of bounds! Retuning 0th element as sanest option"); + println("Vector access out of bounds! Retuning 0th element as sanest option"); + print("Vector tried to access element: "); + println(index); return data[0]; } return data[index];