so should i move the single string read in of "Heidelberg" into a temp string like FooString in ur example, then compare like u have done above quantim1024?
im a little unsure what result
Code:
if ( !strcmp ( array[i] ...
will give. shouldnt i compare the result to zero if they r the same?
and also what do i do because my other string is a dynamic 2D array. should i have
Code:
if ( !strcmp ( array[i][j] ...
. cos i use array[location of word][location of character]. and if that makes a difference then how would i set that out in the for loop?
thanks, im so confused right now.