[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oh no! more problems



Felix Kollmann wrote:

>Now I can get a char of a string, but Im not able to compare it
>correctly.
>I wrote:
>
>	if (&zeichen== ".") {printf ("___.___\n");}

"." is interpreted as string containing only the dot (and the trailing
nullbyte). '.' (i.e. enclosed with single quotes) would be a char.



	Christian

--

Drive A: not responding...Formatting C: instead