using c instead of cpp for sql now