Quote Originally Posted by jerrykelleyjr
how can I count how many names I have?
u are using structs, so every struct has a name char array with in it.

if u declare a array of that struct or something like this
Code:
struct somestruct start[10];
obvisouly u know that there are 10 name cos i have declared 10 elements of type struct somestruct.

or there might be a case where u wont enter a name for some records. At that time u could store null char in all the name[0] in each record. Something like this

Code:
for(i=0;i<10;i++)
    start[i].name[0] = '\0';
and u can check for
Code:
if(name[0] == '\0')
   then u haven;t entered name
else
   name enetred
ssharish2005