Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

printf and scanf for pair

$
0
0

why printf and scanf do not work when we use statements like this- pair < int, string> f[10001]; scanf("%s %d",f[i].second,&f[i].first);//where 0<=i<=10000 but cin and cout works :(


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>