Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
enums
#include <iostream> int main() { enum LaneViewMode_A { LANE_FRONT_VIEW, LANE_TOP_VIEW }; enum class LaneViewMode_B { LANE_FRONT_VIEW, LANE_TOP_VIEW }; LaneViewMode_A a = LANE_FRONT_VIEW; LaneViewMode_B b = LaneViewMode_B::LANE_FRONT_VIEW; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
string-Orderly words
Test 01 c++
Inherit
Test1
constructing object on first use as return value of (pointer to) object-returning function
k-tree 431 C
Hello World C++ - minimal
barai_1
Generating π from 1,000 random numbers
EN WU WU
Please log in to post a comment.