Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tell me we use in over programm print f & scan f instead of cout , cin
#1
salam sir plz tell me we use in over programm print f & scan f instead of cout , cin

if not tell me reason
Reply
#2
Dear Student!
printf and scanf are used in C programming while cout and cin are used in C++ programming.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  std::cout<<"---"; " and also for cin " std::cin>>x; in C++ 2012 Vuhelper 0 3,136 01-14-2012, 05:46 PM
Last Post: Vuhelper
  difference of cin and cout statemenet,i have no computer back gronud i want to learn sana.pari 1 1,981 04-24-2011, 06:45 PM
Last Post: Support
  pasting my code down # include main () { char endp; char print; cout << "The print p sana.pari 1 1,914 04-24-2011, 06:02 PM
Last Post: Support
  # include main() { cout<< "How are u? welcome to my program"; } sana.pari 2 1,492 04-24-2011, 04:51 PM
Last Post: Support
  what is difference b/w "cin" and "cout". plz explain. sana.pari 1 2,983 04-24-2011, 02:10 AM
Last Post: Xpert
  # include main() { cout<< "How are u? welcome to my program"; } Xpert 0 2,158 04-24-2011, 02:06 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)