Home Download Buy Blog Forum Support

Scanf bracket %[ format string not recognized in C mode

Scanf bracket %[ format string not recognized in C mode

Postby andyn on Fri Feb 01, 2013 10:57 am

Hi,

today I was coding some C99 for my homework assignment which involves parsing URLs. Enter scanf. Trying to use the bracket conversion specifier ( %[ ) erroneously results in this being reported:

Image

The result is same if I remove those asterisks. The bracket scanf conversion code is valid C99 and the code in my example works flawlessly.

I'm running version 2.0.1, build 2217, compiled for Linux x86-64.
andyn
 
Posts: 4
Joined: Fri Feb 01, 2013 10:42 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 13 guests