Monthly Archives: October 2011

calloc for C++?

It’s recommended to use: double * data = new double[mysize]; in C++ rather than the C-way: double * data = (double *)malloc(sizeof(double)*mysize); How about the one corresponds to calloc( ) ? Short memo here: double * data = new double[mysize](); … Continue reading

Posted in programming | Tagged | Leave a comment

Install Stereo for 2007 Dodge Grand Caravan

Recently I installed a new stereo for my 2007 Dodge Grand Caravan (the OEM one did not have MP3 capability and could not read from USB) and would like to document the steps for sharing. (Standard no-warranty disclaimer applies here — the … Continue reading

Posted in car | 8 Comments