Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

ASHA

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.12 sec, absolute service time: 0,33 sec 
edit mode |  history  | discussion
Error(s):
1497589243/source.cpp:2:6: error: ISO C++ forbids declaration of ‘Main’ with no type [-fpermissive]
 Main()
      ^
1497589243/source.cpp: In function ‘int Main()’:
1497589243/source.cpp:4:1: error: ‘Int’ was not declared in this scope
 Int a b
 ^~~
1497589243/source.cpp:4:1: note: suggested alternative: ‘int’
 Int a b
 ^~~
 int
1497589243/source.cpp:7:7: error: expected primary-expression before ‘%’ token
 Scanf(%d%d,&a&b);
       ^
1497589243/source.cpp:7:8: error: ‘d’ was not declared in this scope
 Scanf(%d%d,&a&b);
        ^
1497589243/source.cpp:7:13: error: ‘a’ was not declared in this scope
 Scanf(%d%d,&a&b);
             ^
1497589243/source.cpp:7:15: error: ‘b’ was not declared in this scope
 Scanf(%d%d,&a&b);
               ^
1497589243/source.cpp:7:1: error: ‘Scanf’ was not declared in this scope
 Scanf(%d%d,&a&b);
 ^~~~~
1497589243/source.cpp:8:1: error: ‘C’ was not declared in this scope
 C=a+b
 ^
1497589243/source.cpp:10:1: error: ‘getch’ was not declared in this scope
 getch();
 ^~~~~

        

    
                
λ
.NET NoSQL database for rapid development