Subj : Re: strange string pointer to strings...? To : borland.public.cpp.borlandcpp From : maeder Date : Sat Oct 01 2005 10:51 am Bob Gonder writes: >>> /* find matching word and print its meaning */ >>> do { >>> if(!strcmp(*p, word)) { >>> puts("Meaning:"); >>> puts(*(p+1)); >>> break; >>> } >>> if(!strcmp(*p, word)) break; >> >>This line is completely superfluous. > > Not so... It terminates the program after finding one word. Doesn't the break statement in the first if block already do that? .