阅读背景:

error C2143: syntax error : missing ';' before 'type' in Visual C++

来源:互联网 

今天偶然写了下面的程序(原来我写的程序不一样,下面的只是为了把问题简化)