Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: gg50 on June 11, 2020, 02:36:14 pm

Title: header files not required?
Post by: gg50 on June 11, 2020, 02:36:14 pm
I am surprised that certain header files are not required in codeblocks (last version 20.03 or before?)

for example,
I used te gets( ) function without <stdio.h> and there is no error messages?
Can you tell me why?
Thank you

gg
Title: Re: header files not required?
Post by: stahta01 on June 11, 2020, 03:31:59 pm
Code::Blocks (CB) is not a compiler!

The compiler is what causes the symptoms you are seeing.

Tim S.
Title: Re: header files not required?
Post by: gg50 on June 13, 2020, 05:14:44 pm
 I know that CB is not a compiler. I use Mingw . may be the older version of Mingw was not working the same way. I will look on mingw site.
Thank You
GG
Title: Re: header files not required?
Post by: windowsmaniac on September 15, 2020, 07:50:35 pm
Hi,

I think it's highly probable that it it's due to the version update of mingw.