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

Project 3 part 2 Book v1.1

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.12 sec, absolute service time: 0,21 sec 
edit mode |  history  | discussion
Error(s):
source_file.c: In function ‘main’:
source_file.c:38:14: error: ‘maxslots’ undeclared (first use in this function)
     Satslots=maxslots;
              ^
source_file.c:38:14: note: each undeclared identifier is reported only once for each function it appears in
source_file.c:43:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d",&x);
 ^
source_file.c:47:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&x);
     ^
source_file.c:87:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&x);
     ^
source_file.c:127:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&x);
     ^

        

    
                
λ
.NET NoSQL database for rapid development