Conversion: Allowed Original-Encoded-Information-Types: IA5-Text Disclose-Recipients: Prohibited Alternate-Recipient: Prohibited Date: 15 Dec 94 09:16:00 Z From: ESCHN705 AT n8402 DOT bs DOT ptb DOT de To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: formatted input Hello, my question is not djgpp-specific (sorry), but maybe some of you knows: I used to scan strings, e.g. " ORIENTATION DISTRIBUTION FUNCTION, FI" = 5.0 ", by sscanf(ls,"%*[A-Z,2 ]%*[= ]%f",&t); where ls is the string and t should be 5.0. Everything was fine until I had to run this with C SET++, where the short [A-Z,2 ] must be replaced with a longer enumeration of possible characters. The C Programmer's Handbook tells me the shorter form should work ?! Who's right? Sorry again for bandwidth, but this mailing list is my only window into the shine world of C-programming. Thomas.