Skip to main content

Questions tagged [include]

3 votes
3 answers
212 views

I'm maintaining a small C library; let's call it libfoo. It has quite a few users (actually it's complicated - it's the main fork of a highly popular library which has been abandoned); and it sports a ...
einpoklum's user avatar
  • 2,808
1 vote
1 answer
2k views

I am learning to create Use Case diagrams using the UML specification, but I have a couple of doubts about Use Case relationships which I cannot solve on my own. My question regards two different ...
Nik Manzotti's user avatar
4 votes
2 answers
6k views

I was revisiting my question How can I prevent header hell?, when I noticed a comment which said A good technique for ensuring a header is independent is having a rule that the source file always ...
Mawg's user avatar
  • 4,308
0 votes
1 answer
727 views

This is a use case diagram about the enrollment of students at a university. There are several flaws in it, and I have to find them. I am wondering what is happening when you get to use case "Choose ...
David 's user avatar
53 votes
7 answers
38k views

We are starting a new project, from scratch. About eight developers, a dozen or so subsystems, each with four or five source files. What can we do to prevent “header hell”, AKA “spaghetti headers”? ...
Mawg's user avatar
  • 4,308
2 votes
2 answers
250 views

I'm very fastidious about code. When I remove functionality from a file I remove the cooresponding #includes. I've hit several errors where I would remove a #include from a header, and another file ...
Jonathan Mee's user avatar
1 vote
1 answer
1k views

For example, suppose 'Borrwoing a book' a use case: I can figure out two description for it: Description one: Precondition: The member to access this use-case should be already logged in. OR EVEN ...
Ahmad's user avatar
  • 1,866
23 votes
7 answers
56k views

Why do we need to include both the .h and .cpp files while we can make it work solely by including the .cpp file? For example: creating a file.h containing declarations, then creating a file.cpp ...
reaffer's user avatar
  • 365

15 30 50 per page