Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
header files not required?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: header files not required? (Read 3068 times)
gg50
Single posting newcomer
Posts: 2
header files not required?
«
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
Logged
stahta01
Lives here!
Posts: 7590
Re: header files not required?
«
Reply #1 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.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
gg50
Single posting newcomer
Posts: 2
Re: header files not required?
«
Reply #2 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
«
Last Edit: June 13, 2020, 05:52:46 pm by gg50
»
Logged
windowsmaniac
Single posting newcomer
Posts: 9
Re: header files not required?
«
Reply #3 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.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
header files not required?