News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

header files not required?

Started by gg50, June 11, 2020, 02:36:14 PM

Previous topic - Next topic

gg50

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

stahta01

Code::Blocks (CB) is not a compiler!

The compiler is what causes the symptoms you are seeing.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

gg50

#2
 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

windowsmaniac

Hi,

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