I have a file that I can already read in
If the file says:
Jamie 20
I use this code:
fscanf(file,"%s %lf", struct_ptr[1].name, &struct_ptr[1].number);
struct_ptr[1].name = "Jamie" and then struct_ptr[1].number = 20
so... what if I had:
Jamie Lynn 20
I dont know how to make struct_ptr[1].name equal the whole string "Jamie Lynn"