From: "Ross Boast" Newsgroups: comp.os.msdos.djgpp Subject: I Thankyor Date: 7 Jan 1998 16:18:55 GMT Organization: BT Internet Lines: 26 Message-ID: <01bd1b87$ddabca40$093163c3@default> NNTP-Posting-Host: host5-99-49-9.btinternet.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ello, Thanks for all your help, to be honest I wasn't really thinking that much about it, it's just that I've never seen it done :) and I'm not exactly....erm... good at pointers ATM :). So when you guys got it eventually right, what I need is this yea ? : register char *bufptr = buf; A pointer to char which is a register variable. Mindyou by what you have said i don't think its worth it, i've used -03 optimization, which does increase performance a great deal, however, i'm a speed freak so i want more :) no, not really! i just wanted to see what gave better performances, which seems like the compilier optimizations.Thats handy because that's generally a lot easier to do and understand (and doesn't include pointers!). Once again thanks for all your help, Regards... -- Rossa :) at Rossa AT BTinternet DOT com "People who remember quotes, just have better memories not a higher Intelligence" - Leonardo Da Vince.