By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,406 Members | 2,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,406 IT Pros & Developers. It's quick & easy.

Using Format specifiers in C

P: 1
What does the following format specifiers do

fscanf( fd, "%d : \"%[\t\r\n\40-\41\43-\177]\"",..../.);
Aug 13 '07 #1
Share this Question
Share on Google+
1 Reply


sicarie
Expert Mod 2.5K+
P: 4,677
What does the following format specifiers do

fscanf( fd, "%d : \"%[\t\r\n\40-\41\43-\177]\"",..../.);
Have you tried breaking this up and looking them up yourself? I would imagine that your textbook would have a reference for all the escape characters, so all you would need to do is figure out what the escaped numbers are (after you looked up the escaped characters). You might also consider looking up what the percent symbols mean in C.
Aug 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.