Re: Best standard to use?

Marc 'BlackJack' Rintsch <[email protected]> Wed, 6 Oct 2021 11:48:08 -0000 (UTC)
Newsgroups alt.comp.lang.c
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Wed, 06 Oct 2021 09:26:15 +0000, paul.nadal wrote:

> What is the best standard to use when programming in c? (c11, c99...)
> Thank you for your answers!

I think it depends on your target audience, or if you are the only 
target, what your compiler supports.

With programs for a desktop system, with an up to date compiler, I tend 
to use the newest standard supported by that compiler.

With code that will run on more ”exotic” hardware — retro systems (6510, 
z80, x86 DOS) or embedded systems — I use whatever newest standard the 
target compiler(s) support.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
“In science it often happens that scientists say, »You know that's a
 really good argument; my position is mistaken,« and then they would
 actually change their minds and you never hear that old view from
 them again. They really do it.  […]  I cannot recall the last time
 something like that happened in politics or religion.”  -- Carl Sagan