A replacement for dictionary in C | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Resposta
+ 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