Author Topic: really strange and frustrating problem  (Read 3545 times)

Offline xyd

  • Single posting newcomer
  • *
  • Posts: 2
really strange and frustrating problem
« on: August 09, 2013, 04:03:21 am »
I've downloaded C::B and wingw properly.
But sometimes my source code can run properly,sometimes it comes directly to the end without any operations(I/O)

saying:Process terminated with status 1986020503(Ox....)sexadecimal?...

I've installed and reinstalled for several times but it remains the same condition!!


Please help me~  :)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: really strange and frustrating problem
« Reply #1 on: August 09, 2013, 07:53:25 am »
Use a debugger, you have a bug.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline xyd

  • Single posting newcomer
  • *
  • Posts: 2
Re: really strange and frustrating problem
« Reply #2 on: August 09, 2013, 10:32:44 am »
? But when i debug there's no problem...

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: really strange and frustrating problem
« Reply #3 on: August 09, 2013, 12:45:00 pm »
Then you definitely have uninitialized or another memory problem. This is a classic :)
Be creative in your debugging ... use printfs, the optimization operator (//), etc...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]