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

Client

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.24 sec, absolute running time: 0.22 sec, cpu time: 0.15 sec, memory peak: 3 Mb, absolute service time: 0,46 sec 
edit mode |  history  | discussion
Warning(s):
source_file.cpp: In function ‘int main(int, const char**)’:
source_file.cpp:78:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
         fgets(line, 120, stdin);
                                ^
source_file.cpp:82:42: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
         write(sockFD, line, strlen(line));
                                          ^
Error(s):
Invalid memory reference (SIGSEGV)

        

    
                
λ
.NET NoSQL database for rapid development