On Sat, Oct 6, 2012 at 6:12 AM, V G wrote: > On Sat, Oct 6, 2012 at 2:16 AM, Tamas Rudnai wrot= e: > >> I am not arguing here, just saying that the type is the pointer or '*' i= n >> C. The mark 'int' is needed by the pointer arithmetic and to casting the >> memory selected by the pointer. That's why it makes perfect sense to me = to >> use the version B 'int *a, *b, *c;' notation. >> >> By the way, we always can create our own type, so maybe what OP is looki= ng >> for is something like: >> >> typedef int* pInt; >> pInt d,e,f; >> >> > I'm not really "looking for" a new type. I'm just the type of guy who > needs to settle on a standard before I write 100 000 lines of code based = on > it. It helps me sleep at night knowing that my asterisks are aligned > correctly, you know? > > In either case, I'm sold on the type A (asterisk near the type) style, > since boost (http://boost.org) with 18 million+ lines of code is using > it. So I'm not the only one who likes it. As I said, it helps me sleep at > night. > Edit: My word count tool says ~2 million lines of code in the boost source tree. I misinterpreted the 18 million from this site: http://www.ohloh.net/p/boost --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .