The thing that counts is which side of the * the 'const' is.
"const int *p" means p is a non-constant pointer which points at
read-only int(s). "int * const p = &x;" means p is a read-only
pointer, set to point at the variable x, and which can only be set
at this declaration point.
Try to use fixed width fonts, so as to avoid the silly widths.
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
Posted via a free Usenet account from http://www.yqcomputer.com/