Tagged Questions
0
votes
3answers
204 views
Is there an accepted name for a fake object injected via a preprocessor seam?
I am dealing with some old, sloppy C++ code in which there is a structure with a lot of data members and functions. I want to test a class that I have implemented which uses the struct, but this ...
2
votes
1answer
322 views
Where did the T in wchar_t come from?
In many native types, a common suffix (and sometimes prefix) of t or _t is used to denote platform-independent types (such as wchar_t, int32_t, etc.)
What was the logic behind the letter t as opposed ...
0
votes
1answer
89 views
How we call an RPC that not only calls external functions but also updates data structures?
I have a simple C++ RPC that lets you have remote class instances that support live members (data structures) update as well as method calls. For example I had a class declared like this (pseudocode):
...
1
vote
1answer
63 views
Term for a single C++ endpoint/object file
I have heard several terms for a C++ "Codepoint" (which is what I've heard used the most often), or a .cpp file that is compiled into an object file.
For instance, .cpp files can include other .cpp ...
9
votes
4answers
2k views
The term “interface” in C++
Java makes a clear distinction between class and interface. (I believe C# does also, but I have no experience with it). When writing C++ however there is no language enforced distinction between class ...
2
votes
2answers
174 views
How is this “interface”-like structure/pattern called?
Let's assume we have an XmlDoc class that contains basic functionality for dealing with an XML data structure and saving/loading data to/from a file. Now we have several subclasses, A, B and C. They ...
-1
votes
2answers
229 views
When the shell prints “TBD: create a test thread to print info from the Test object”, what does the 'TBD' stand for?
I did this after 'make' for some C++ files, and then running one of them.
Does anyone know what the significance of the acronym 'TBD' is?
1
vote
4answers
214 views
Use the terms “vector” or “array” in high level discussion of C++ code
When I write high-level documentation about what an algorithm does, I use the term "array" to refer to the data structure on which the algorithm operates even though the actual data structure is an ...
9
votes
4answers
466 views
“Pythonic” equivalent term for code written in modern C++ style?
There's a lot of good idioms promoted in modern C++. These include RAII and elegant use of boost or STL or a std::algorithm to solve a given problem.
Just like you can write C in any language, you ...
7
votes
3answers
538 views
Microsoft Terminology: .NET C++ vs. traditional C++
I've recently been working with a team that's using both .NET C++ and pre-.NET C++.
I fully understand the technical differences between the two technologies. However, I sometimes feel like I'm ...
