0_0_13401890_8652.cpp:1:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_13401890_8652.cpp:2:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_13401890_8652.cpp:3:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_13401890_8652.cpp:4:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_13401890_8652.cpp:10:26: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_13401890_8652.cpp:10:35: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_13401890_8652.cpp:21:5: error: expected ';' after class definition
}
^
0_0_13401890_8652.cpp: In static member function 'static void ConsoleApplication2::Program::Main(int*)':
0_0_13401890_8652.cpp:12:13: error: 'string' was not declared in this scope
string str ;
^
0_0_13401890_8652.cpp:13:20: error: 'str' was not declared in this scope
while((str=Console .ReadLine ())!=null)
^
0_0_13401890_8652.cpp:13:24: error: 'Console' was not declared in this scope
while((str=Console .ReadLine ())!=null)
^
0_0_13401890_8652.cpp:13:47: error: 'null' was not declared in this scope
while((str=Console .ReadLine ())!=null)
^
0_0_13401890_8652.cpp:15:24: error: expected primary-expression before ']' token
string[] num = str.Split(' ');
^
0_0_13401890_8652.cpp:16:35: error: 'Convert' was not declared in this scope
Console.WriteLine(Convert.ToInt32(num[0]) + Convert.ToInt32(num[1]));
^
0_0_13401890_8652.cpp:16:51: error: 'num' was not declared in this scope
Console.WriteLine(Convert.ToInt32(num[0]) + Convert.ToInt32(num[1]));
^
|