Code::Blocks Forums

User forums => Help => Topic started by: mashfique aronno on June 22, 2019, 02:24:22 pm

Title: problem
Post by: mashfique aronno on June 22, 2019, 02:24:22 pm
Why is this happening?
When i am programing for 50 + 60,the result is always this weird number
It was working fine for the last two days.
Please help
Title: Re: problem
Post by: BlueHazzard on June 22, 2019, 03:02:33 pm
You should look at your print statement.... This does not look like it should be like that...

Just for your information: This forum does not give general programming advice. This is specific for codeblocks only. Read the rules of this forum for more information...
Title: Re: problem
Post by: raynebc on June 22, 2019, 09:35:39 pm
Unless you disabled compiler warnings, you likely got one that will point out the problem in this specific instance.  Going in and enabling all warnings (Settings>Compiler>Compiler flags tab>Enable all common compiler warnings) is helpful and something I always use.