←back to thread

The C23 edition of Modern C

(gustedt.wordpress.com)
415 points bwidlar | 1 comments | | HN request time: 0.204s | source
Show context
zerr ◴[] No.41851781[source]
Do they still use 0-terminated strings/char* as the main string type?

Is the usage of single linked lists still prevalent as the main container type?

replies(4): >>41851903 #>>41853013 #>>41853099 #>>41854343 #
racingmars ◴[] No.41851903[source]
> Do they still use 0-terminated strings/char* as the main string type?

Of course, it's still C.

> Is the usage of single linked lists still prevalent as the main container type?

As far as I can remember, the C standard library has never had any functions that used linked lists. Nor are there any container types, linked lists or otherwise, provided by C. So I'd say this is a question about how people teach and use C, not related to the language -- or language spec version -- itself.

replies(2): >>41853057 #>>41856764 #
1. zerr ◴[] No.41856764[source]
I don't mean the language spec but what is commonly used in the wild.