A replacement for dictionary in C | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
0

A replacement for dictionary in C

In Python we have dictionaries but is there a simple way to implement something similar to a dictionary in C?

6th May 2020, 1:19 PM
Burn
Burn - avatar
1 Odpowiedź
+ 1
Structures are the most similar built-in feature in C. But if you want an associative array like in other languages you have to implement it by yourself...you can find the code on GeeksForGeeks.
6th May 2020, 1:23 PM
Alessandro Palazzolo
Alessandro Palazzolo - avatar