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

compile c++ gcc online

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.24 sec, absolute service time: 0.43 sec 
latest |  history
Error(s):
source_file.cpp: In function ‘int factorial(int)’:
source_file.cpp:11:1: error: expected ‘;’ before ‘}’ token
source_file.cpp:11:1: warning: value computed is not used [-Wunused-value]
source_file.cpp:11:1: warning: control reaches end of non-void function [-Wreturn-type]