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

lab17feb22x4B.cpp

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.42 sec, absolute service time: 0,53 sec 
edit mode |  history  | discussion
Error(s):
1765254525/source.cpp: In function ‘int main()’:
1765254525/source.cpp:25:15: error: ‘fnamw’ was not declared in this scope
  if ((fd=open(fnamw, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR))<0)
               ^~~~~
1765254525/source.cpp:25:15: note: suggested alternative: ‘fname’
  if ((fd=open(fnamw, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR))<0)
               ^~~~~
               fname
1765254525/source.cpp:18:10: warning: unused variable ‘pid_processo’ [-Wunused-variable]
  int fd, pid_processo;
          ^~~~~~~~~~~~
1765254525/source.cpp:19:6: warning: unused variable ‘nread’ [-Wunused-variable]
  int nread,nwrite,status;
      ^~~~~
1765254525/source.cpp:19:12: warning: unused variable ‘nwrite’ [-Wunused-variable]
  int nread,nwrite,status;
            ^~~~~~
1765254525/source.cpp:19:19: warning: unused variable ‘status’ [-Wunused-variable]
  int nread,nwrite,status;
                   ^~~~~~
1765254525/source.cpp:20:7: warning: unused variable ‘st1’ [-Wunused-variable]
  char st1[256]; /*Stringa lunga 256 caratteri*/
       ^~~
1765254525/source.cpp:21:7: warning: unused variable ‘st2’ [-Wunused-variable]
  char st2[256]; /*Stringa lunga 256 caratteri*/
       ^~~

        

    
                
λ
.NET NoSQL database for rapid development