[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
oh no! more problems
Hi,
I have some problems again.
But at first: Thanks to all the people who answered me.
the problem:
Now I can get a char of a string, but I´m not able to compare it
correctly.
I wrote:
if (&zeichen== ".") {printf ("___.___\n");}
and also:
if (zeichen== (char) ".") {printf ("___.___\n");}
But that doesn´t work. The programm says that the char is two chars
long.
I attached the output of the programm.
Can anybody help me, ...again... please.
mfg
Felix Kollmann, DG5PT
email: fkollmann@gmx.net
Jumpnodes - v0.0.2
Copyright 1999 Future Interactive
-----------------------------
Animationen v0.0.0
Sounds v0.0.0
-----------------------------
.........._1_
.........._2_
.........._3_
.........._step_ charposition -> argument => char (char length)
.........._4_ 0 -> 0 => s (1)
.........._4_ 1 -> 0 => c (2)
.........._4_ 2 -> 0 => r (2)
.........._4_ 3 -> 0 => i (2)
.........._4_ 4 -> 0 => p (2)
.........._4_ 5 -> 0 => t (2)
.........._4_ 6 -> 0 => _ (2)
.........._4_ 7 -> 0 => l (2)
.........._4_ 8 -> 0 => o (2)
.........._4_ 9 -> 0 => a (2)
.........._4_ 10 -> 0 => d (2)
.........._4_ 11 -> 0 => (2)
.........._4_ 12 -> 0 => . (2)
.........._4_ 13 -> 0 => / (2)
.........._4_ 14 -> 0 => # (2)
.........._4_ 15 -> 0 => i (2)
.........._4_ 16 -> 0 => n (2)
.........._4_ 17 -> 0 => i (2)
.........._4_ 18 -> 0 => t (2)
.........._4_ 19 -> 0 => . (2)
.........._4_ 20 -> 0 => s (2)
.........._4_ 21 -> 0 => c (2)
.........._4_ 22 -> 0 => r (2)
.........._4_ 23 -> 0 => i (2)
.........._4_ 24 -> 0 => p (2)
.........._4_ 25 -> 0 => t (2)
.........._5_
---!FEHLER!--------------------------
Fehler beim preprocessing des Befehls!
-------------------------------------