0_0_18601886_9675.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_18601886_9675.cpp:2:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_18601886_9675.cpp:3:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_18601886_9675.cpp:4:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_18601886_9675.cpp:12:26: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_18601886_9675.cpp:12:35: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_18601886_9675.cpp:34:5: error: expected ';' after class definition
}
^
0_0_18601886_9675.cpp: In static member function 'static void taotao::Class1::Main(int*)':
0_0_18601886_9675.cpp:14:13: error: 'string' was not declared in this scope
string temp = Console.ReadLine();
^
0_0_18601886_9675.cpp:16:13: error: 'List' was not declared in this scope
List<int> ilist = new List<int>();
^
0_0_18601886_9675.cpp:16:18: error: expected primary-expression before 'int'
List<int> ilist = new List<int>();
^
0_0_18601886_9675.cpp:18:20: error: 'temp' was not declared in this scope
while (temp != null)
^
0_0_18601886_9675.cpp:18:28: error: 'null' was not declared in this scope
while (temp != null)
^
0_0_18601886_9675.cpp:20:24: error: expected primary-expression before ']' token
string[] lala = temp.Split(' ');
^
0_0_18601886_9675.cpp:22:25: error: 'Int32' was not declared in this scope
int a = Int32.Parse(lala[0]);
^
0_0_18601886_9675.cpp:22:37: error: 'lala' was not declared in this scope
int a = Int32.Parse(lala[0]);
^
0_0_18601886_9675.cpp:24:17: error: 'ilist' was not declared in this scope
ilist.Add(a + b);
^
0_0_18601886_9675.cpp:25:24: error: 'Console' was not declared in this scope
temp = Console.ReadLine();
^
0_0_18601886_9675.cpp:28:22: error: 'var' was not declared in this scope
foreach (var item in ilist)
^
0_0_18601886_9675.cpp:28:39: error: 'foreach' was not declared in this scope
foreach (var item in ilist)
^
|