Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Analysis of typical problems (15)

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

After a period of writing, our data structure library has reached a certain scale. So the code we wrote before doesn't have a bit of bug? Every code has been tested before, so there is no bug, but let's analyze it to see if there is no bug at all.

Test 1: null pointer problem when creating an exception object, as follows

Main.cpp is as follows

# include # include "Exception.h" using namespace std;using namespace DTLib;int main () {try {NullPointerException npe; cout

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 289

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report