Code::Blocks

User forums => Using Code::Blocks => Topic started by: newcoder007 on November 12, 2020, 04:45:41 pm

Title: No output in the console
Post by: newcoder007 on November 12, 2020, 04:45:41 pm
If you look at my code in the attachment.
Why can't I see any output in the console?


Thanks
Title: Re: No output in the console
Post by: Miguel Gimenez on November 12, 2020, 07:09:26 pm
You can't use printf(x) this way :o, your program crashes when executing it. Read about printf usage and if you have more questions ask in a forum where basic C is on-topic.

Also, don't post images where a code tag would be enough.