Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Contributions to C::B => Topic started by: zdai on November 26, 2007, 04:47:28 pm

Title: error running C++ program
Post by: zdai on November 26, 2007, 04:47:28 pm
Hi,

I am a windows programmer using VC and VB. Recently I have to migrate a VC++ program to pure C/C++. I did it in C::B IDE. It can work in debug mode, does not in release. You will be appreciated very much if you can give me a help.

zdai
Title: Re: error running C++ program
Post by: Auria on November 26, 2007, 05:07:53 pm
It would also help to know what you mean by "doesn't work", what does a debugger say, etc.
Title: Re: error running C++ program
Post by: lubos on November 26, 2007, 06:32:28 pm
it may be that you are forgetting to initialize some variables, while debugger does?
Title: Re: error running C++ program
Post by: alchemist on November 26, 2007, 07:30:44 pm
Hello,

What kind of program ? Does it use a specific C::B library ?
Do you can run it under Visual Studio (as you said you know VC) ? Does it work ?
In that case thase there is no problem with "C::B development" but a general C++ problem (thus you'll need to move your post)