Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 5 years ago

Language

C++

Compiler

gcc 8.2.0

Options
Warnings
Boost 1.71.0
C++2a(GNU)
no pedantic

Author

anonymous

over 5 years ago

resource

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/gcc-8.2.0/include -std=gnu++2a
prog.cc: In function 'int main()':
prog.cc:23:15: warning: unused variable 'RANGE' [-Wunused-variable]
     const int RANGE = 12;
               ^~~~~
prog.cc:25:9: warning: unused variable 'i' [-Wunused-variable]
     int i = 0, j = 0;
         ^
prog.cc:25:16: warning: unused variable 'j' [-Wunused-variable]
     int i = 0, j = 0;
                ^
Forename: John
Surname: Smith
Department: Sales
Telephone: 555-1234
Forename: Mary
Surname: Jones
Department: Wages
Telephone: 555-9876
Forename: Paul
Surname: Harris
Department: Accts
Telephone: 555-4321
Exit Code:
0