... printf("function of struct.\n"); } }; void main() { struct DEMO demo(33); demo.func(); }. 儲存為mytest1.c , VC6.0和gcc編譯都會出錯。
確定! 回上一頁