“System”: 符号不能用在 using 声明中
求各位大神指点一下,这样的错误怎么改正?
#include <stdlib.h>
#include <cmath>
using namespace std;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
...........
..........
...........
提示错误:
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(4): error C2873: “System”: 符号不能用在 using 声明中
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(5): error C2143: 语法错误 : 缺少“;”(在“.”的前面)
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(5): error C2873: “System”: 符号不能用在 using 声明中
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(5): error C2059: 语法错误:“.”
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(6): error C2143: 语法错误 : 缺少“;”(在“.”的前面)
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(6): error C2873: “System”: 符号不能用在 using 声明中
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(6): error C2059: 语法错误:“.”
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(7): error C2143: 语法错误 : 缺少“;”(在“.”的前面)
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(7): error C2873: “System”: 符号不能用在 using 声明中
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(7): error C2059: 语法错误:“.”
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(8): error C2143: 语法错误 : 缺少“;”(在“.”的前面)
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(8): error C2873: “System”: 符号不能用在 using 声明中
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(8): error C2059: 语法错误:“.”
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(9): error C2143: 语法错误 : 缺少“;”(在“.”的前面)
1>c:\users\administrator\documents\visual studio 2010\projects\txcl\txcl\3.cpp(9): error C2873: “System”: 符号不能用在 using 声明中