diff --git a/codes/cpp/chapter_stack_and_queue/stack.cpp b/codes/cpp/chapter_stack_and_queue/stack.cpp index bac778c11..52d0b7730 100644 --- a/codes/cpp/chapter_stack_and_queue/stack.cpp +++ b/codes/cpp/chapter_stack_and_queue/stack.cpp @@ -34,5 +34,6 @@ int main(){ /* 判断是否为空 */ bool empty = stack.empty(); + return 0; }