You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
Re: classes know too much about each other -- yes. This program is about 10 years old and not one that I wrote. It has "interacting" features that create problems -- like tying gui-display+refresh into 1 step that requires calling the data-input routine (i.e. can't refresh w/o pulling in data and adding another column(so columns don't represent a fixed amount of time, but anytime a measurement was made)... lots of little gotchas like that.. trying to restructure to fix, (and learning v4-c++ at the same time; last c++ use was near 15-20 yrs ago w/v1 of C++). will have to study your info moreAstara– Astara2014-06-09 18:46:55 +00:00Commented Jun 9, 2014 at 18:46
-
BTW-@Mat, reading your thoughts on class design. If the 'Meter', is like TV network that people watch results on, -- then the network would be a scheduler of programs or 'views', on events. I certainly understand where you are coming from -- as I often get confused about differences between an object also 'being' an 'X' vs. an object having an 'X'. Yet, in standard OO examples, unique traits are often part of an object as the traits characterize the object. Wouldn't that make them appropriate for inclusion as part of the object?Astara– Astara2014-06-11 01:46:01 +00:00Commented Jun 11, 2014 at 1:46
Add a comment
|
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you
lang-cpp