python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Is it good practice to declare derivate classes in the same C++ header?
I'm declaring a pure virtual class that will provide a unified interface for a handful of derived classes. My instinctual way to organize this would be to create a base folder with the header for the ...
none none
Votes: 0
Answers: 2
Why only include header files (.h) but not the source file (.c) in the directives?
How does the compiler know which source file is the one I am including?
Does it work as long as the name of the header and source file are the same?
For example, the header file example.h refers to ex...

Captain Toad
Votes: 0
Answers: 1
undefined reference because I can't find the according source files
I have a cpp file from a program that I want to open separately from the whole file structure. I need to do that in order to use this cpp file in ros. I have the header files included but I need to in...
kolja
Votes: 0
Answers: 1
How to show common .h or .pph header file in UML class diagram?
Suppose that we have some common header files (e.g. common.h or typedefs.h) which contain the project's common typedefs, definitions, etc.
Also, I want to use these header files throughout my all clas...
Anmk
Votes: 0
Answers: 2