mrtao 发表于 2008-3-2 09:01

在编程学习中遇到的一点问题

新手学习,不要见笑。
这个程序在Visual C++的平台上说有两错误:error C2601: 'main' : local function definitions are illegal
                                        fatal error C1004: unexpected end of file found
我不明白为什么?请高手们指教!

sunkaidong 发表于 2008-3-2 09:52

你的void Merge(int m[],int n[],int x,int y,int p[])中括号少了一个....

mrtao 发表于 2008-3-2 12:55

哦,发现了,少了一个“}”,cerr写错了!
谢谢!

mrtao 发表于 2008-3-2 12:56

哦,发现了,少了一个“}”,cerr写错了!
谢谢!

页: [1]

编程论坛