HubPages Answers Will Soon Be Retired
Please stop by the HubPages Blog for more details.
Naveed Ahmed 624 profile image 84

How do we know to use a particular header file in C programming?


I am new to C Programming and I have observed that we can perform similar tasks while using either of the header files "iostream.h" and "stdio.h". Because functions such as "cout" and "cin" in "iostream.h" can perform similar tasks as can "printf" and "scanf" when we are using the header file "stdio.h". So how do we know which header file to use when? Is there a difference (in using particular header files and functions) when we are programming via different platforms i.e Dev C++, Microsoft Visual C++, Turbo C++ or different operating systems?

 

sort by best latest

Naveed Ahmed 624 profile image84

Naveed Ahmed (Naveed Ahmed 624) says

You can help the HubPages community highlight top quality content by ranking this answer up or down.

2 years ago
 |  Comment
WestelCS profile image60

Tim Anthony (WestelCS) says

You can help the HubPages community highlight top quality content by ranking this answer up or down.

2 years ago
 |  Comment
  • Naveed Ahmed 624 profile image

    Naveed Ahmed (Naveed Ahmed 624) 2 years ago

    Could you please answer after reading the details of the question? I have not got the answer to what I needed.