Skip to main content
Stack Overflow
  1. About
  2. For Teams

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*

Draft saved
Draft discarded
Cancel
7
  • 2
    "My main crashes for no reason" - Doubtful. I'm inclined to believe the OS. Commented Nov 5, 2012 at 0:43
  • That was a bad statement of me. There must be a reason and actually this is the reason I am looking for. Any ideas? Commented Nov 5, 2012 at 0:54
  • 1
    error: field ‘int PID::PID’ with same name as class...avoid it.... Commented Nov 5, 2012 at 0:55
  • @noleptr it is a convention to use the name of the class for the class constructor & destructor. You are the first guy to tell me something like this. Any tips on why I should avoid this? Commented Nov 5, 2012 at 0:57
  • 1
    @Aposperite.... I am talking about the PID private variable....and that by the way was my gcc compiler...I was trying to see whats wrong with your code.... Commented Nov 5, 2012 at 0:59

lang-cpp

AltStyle によって変換されたページ (->オリジナル) /