double hoge[100] = {0.0};
これで全部0.0が入るんじゃね?