Skip to main content

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*

10
  • Oh, damn, I've been discovered. Haha. Sure, I'll post it, but I'm a little bit skeptical in regard to this definition in *.cpp thing. *.h: codepad.org/UyLfik6W *.cpp: codepad.org/5KJmraCC Commented Feb 7, 2017 at 13:14
  • The header file looks fine at a first glance, so I'm pretty confident that adding SensorDeVazao* SensorDeVazao::SensorHandle = NULL; (or whatever value you should initialize it) before the functions in your SensorDeVazao.cpp file will solve your problem Commented Feb 7, 2017 at 13:17
  • It worked like a charm. Thank you, Sir! :D But now an explanation is required. Commented Feb 7, 2017 at 13:29
  • 2
    Much appreciated. You've excelled in the explanation. :D Commented Feb 7, 2017 at 14:58
  • 1
    Where is my cookie? I demand my cookie! ;P I think asking for how things work is a better way to continuosly learn something new and trick the time about aging. :) Commented Feb 7, 2017 at 18:06