error C2198: 'exit' : too few actual parameters

error C2198: 'exit' : too few actual parameters

C语言有默认的exit()函数,就在你的exit()里面还调用了一句exit(0),而你所编写的函数却没有参数,发生冲突,所以还是按照crab2313的建议,改个名吧。写函数名的时候一定要注意不要与系统关键字发生冲突C的字符串拷贝函数str
Python490