Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

almost 8 years ago

Language

Compiler

Options

Author

anonymous

almost 8 years ago

$
prog.cc:19:42: warning: unused parameter 'b' [-Wunused-parameter]
     std::string shape_of(Building const& b) { return "circle"; }
                                          ^
prog.cc:20:42: warning: unused parameter 'c' [-Wunused-parameter]
     std::string shape_of(Contract const& c) { return "diamond"; }
                                          ^
digraph G {
office1 [label="Building office1", shape=circle];
office2 [label="Building office2", shape=circle];
warehouse1 [label="Building warehouse1", shape=circle];
contract1 [label="Contract contract1", shape=diamond];
contract2 [label="Contract contract2", shape=diamond];
office1->office2 ;
warehouse1->contract1 ;
contract2->contract1 ;
}
0 --> 1 
1 --> 
2 --> 3 
3 --> 
4 --> 3 
Exit Code:
0