> Okay you have a function ie.. > > void do_yodell (CHAR_DATA * ch, yada yada yada) > > What my question is what is the difference between * ch and *ch (notice > the * one space away and then right next to target). I've notice some > code that I have implimented in my mud had that suttle difference. > Would it mess things up if I made * ch look like *ch???? If it does > mess things up. Could you give me an explination of what it does to the > function? Thanks... > > Stainless >
There is no difference. The following are all equivalent: CHAR_DATA * ch; CHAR_DATA *ch; CHAR_DATA *ch; The compiler ignores whitespace. Which is why you have to put a ; at the end of statements so it doesn't get too confused. jef

