Compiler output
prog.cpp: In function âvoid open()â:
prog.cpp:23:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp: In function âvoid adauga()â:
prog.cpp:32:26: warning: format â%sâ expects argument of type âchar*â, but argument 3 has type âchar (*)[25]â [-Wformat]
prog.cpp:31:12: warning: unused variable âjâ [-Wunused-variable]
prog.cpp: In function âvoid pleaca()â:
prog.cpp:44:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:41:9: warning: unused variable âiâ [-Wunused-variable]
prog.cpp: In function âvoid afiseaza()â:
prog.cpp:49:9: warning: unused variable âiâ [-Wunused-variable]
prog.cpp: In function âvoid cauta()â:
prog.cpp:61:18: warning: format â%sâ expects argument of type âchar*â, but argument 2 has type âchar (*)[25]â [-Wformat]
prog.cpp:60:11: warning: unused variable âjâ [-Wunused-variable]
prog.cpp:60:13: warning: unused variable âcareâ [-Wunused-variable]
prog.cpp:60:22: warning: unused variable ânrâ [-Wunused-variable]
prog.cpp: In function âint main()â:
prog.cpp:76:50: warning: format â%sâ expects argument of type âchar*â, but argument 2 has type âchar (*)[25]â [-Wformat]
prog.cpp:76:50: warning: format â%sâ expects argument of type âchar*â, but argument 3 has type âchar (*)[25]â [-Wformat]
prog.cpp: In function âvoid cauta()â:
prog.cpp:66:16: warning: âpozâ may be used uninitialized in this function [-Wmaybe-uninitialized]