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

char *test[position]



Hi,

I try to get a char of a char * :

	unsigned int position= 0;
	char *test;
	printf ("%s", test[position]);

But the programm prints the complete string down to [position] .

Can anybody help?

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_
.........._4_ 0  script_load ./#init.script
.........._4_ 1  cript_load ./#init.script
.........._4_ 2  ript_load ./#init.script
.........._4_ 3  ipt_load ./#init.script
.........._4_ 4  pt_load ./#init.script
.........._4_ 5  t_load ./#init.script
.........._4_ 6  _load ./#init.script
.........._4_ 7  load ./#init.script
.........._4_ 8  oad ./#init.script
.........._4_ 9  ad ./#init.script
.........._4_ 10  d ./#init.script
.........._4_ 11   ./#init.script
.........._4_ 12  ./#init.script
.........._4_ 13  /#init.script
.........._4_ 14  #init.script
.........._4_ 15  init.script
.........._4_ 16  nit.script
.........._4_ 17  it.script
.........._4_ 18  t.script
.........._4_ 19  .script
.........._4_ 20  script
.........._4_ 21  cript
.........._4_ 22  ript
.........._4_ 23  ipt
.........._4_ 24  pt
.........._4_ 25  t
.........._5_

---!FEHLER!--------------------------
Fehler beim preprocessing des Befehls!
-------------------------------------