Jon, you sure do laugh out loud a lot.
And, ygf, remind me never to get on your bad side...
>>... what are you saying about our expert skills? you doubt our
>>judgement? a thousand firey birds with a thousand firey
>>thunderbolts each attack your mother
Ouch! Poor mom!
Jon, try this:
Code:
struct CharLines
{
char lines[100];
};
CharLines Lines[100];
//initial variable population
for(i=0;i<100;i++)
{
strcpy(Lines[i].lines,"hello");
}
if(lineCount>=100)
{
char newline[100], templine[100];
strcpy(newline,"hi jon!");
for(i=0;i<100;i++)
{
strcpy(templine,Lines[i].lines); //save current string
strcpy(Lines[i].lines,newline); //replace with new one
strcpy(newline,templine); //reset new one to former one
}
}