带有以下标签的文章 cpp SearchMy GDB Cheat Sheet2024-03-09ccpptoolgdbdebuggingThe GNU debugger is a powerful tool for the debugging of (mainly) C/C++ programs. In this post I document the common operations of gdb and some useful learning resources.My personal summary of Stanford CS106L2023-06-01cppmodern-cppstanfordprogramming-languagesoftware-engineeringThis is CS106L, an in-depth modern C++ language course from Stanford. I enrolled in it at the beginning of April and almost finished it today.Const Correctness in C++2023-06-01cppsoftware-engineeringconst-interfaceconst-correctnessprogramming-languageThis is a note for Lecture 8, CS106L, Spring 2023.Type Safety and std::optional in C++2023-05-31cppconst-correctnesstype-safetysoftware-engineeringprogramming-languageThis is a note for Lecture 14, CS106L, Spring 2023.Move Semantics in C++2023-05-30cppmove-semanticsr-value-referencespecial-member-functionsprogramming-languageThis is a note for Lecture 13, CS106L, Spring 2023.static_cast and const_cast in C++2023-05-30cppprogramming-languagesoftware-engineeringconst-caststatic-castThis is a note for Lecture 8, CS106L, Spring 2023.Uses std::cin.ignore() to keep the user typing until the input meets the requirements2023-03-25cppcinput-validationstd-cinI used to control users' input by making the input a string and process it later. But today, my friend posed this question to me: Can we control input without a char array or string class?The const and constexpr in C++ (REMAKE)2023-03-24cppprogramming-languageconst-usageconstexprI have written a post about const in C++ in Chinese before, but it was too verbose and unclear. :( So, I decided to rewrite it.error: summary string parsing error 错误解决方法2023-01-11ccppclanglldbdebugging直接先说解决方法:在使用 clang 工具链进行编译的时候,添加编译选项 -fstandalone-debug。Makefile 简单笔记2023-01-08ccppmakefilesoftware-engineeringbuild-tool