1
I intend to make a program that uses structs
to store data, but that there is already some data inserted in it, I will give a similar example:
struct registro
{
char nome[30], telefone[11];
int idade
}dados;
In case I needed to do something like:
dados[2].nome="José";
So that the program has a base on it, being able to insert new data or search for existing data, however I could not find anything on the internet that explains how to do this and I also could not find any solution. Anyone can help?
https://answall.com/search?q=fopen+%5Bc%5D+struct
– Victor Stafusa
https://answall.com/q/302677/132
– Victor Stafusa
https://answall.com/q/243094/132
– Victor Stafusa
Possible duplicate of Vector of struct in C
– Maurício Z.B