char *p;

p = malloc(sizeof(char)*256);


これをコンパイルするとエラーになります。

エラー E2034 testf.cpp 8: 'void *' 型は 'char *' 型に変換できない(関数 main() )

コンパイラのせい?