大约有 4,090 项符合查询结果(耗时:0.0149秒) [XML]
C++代码质量扫描主流工具深度比较 PDF - 文档下载 - 清泛网 - 专注C/C++及内核技术
C++代码质量扫描主流工具深度比较 PDFC++ 代码扫描 一、引言 静态代码分析是指无需运行被测代码,通过词法分析、语法分析、控制流、数据流分析等技术对程序代码进行扫描,找出代码隐藏...
一、引言
静态代...
What is a “static” function in C?
The question was about plain c functions, not c++ static methods, as clarified in comments.
12 Answers
...
C++ Structure Initialization
Is it possible to initialize structs in C++ as indicated below
16 Answers
16
...
Using C++ library in C code
I have a C++ library that provides various classes for managing data. I have the source code for the library.
4 Answers
...
Clean code to printf size_t in C++ (or: Nearest equivalent of C99's %z in C++)
I have some C++ code that prints a size_t :
9 Answers
9
...
Why do people use __(double underscore) so much in C++
I was having a look through some open source C++ code and notice a lot of double under scores where used in the code, mainly at the start of variable names.
...
Does C++ support 'finally' blocks? (And what's this 'RAII' I keep hearing about?)
Does C++ support ' finally ' blocks?
16 Answers
16
...
Why is the C++ STL is so heavily based on templates? (and not on *interfaces*)
...
The short answer is "because C++ has moved on". Yes, back in the late 70's, Stroustrup intended to create an upgraded C with OOP capabilities, but that is a long time ago. By the time the language was standardized in 1998, it was no longer an OOP languag...
Why doesn't Java offer operator overloading?
Coming from C++ to Java, the obvious unanswered question is why didn't Java include operator overloading?
16 Answers
...
What does the C++ standard state the size of int, long type to be?
I'm looking for detailed information regarding the size of basic C++ types.
I know that it depends on the architecture (16 bits, 32 bits, 64 bits) and the compiler.
...