October 21, 2024
Chicago 12, Melborne City, USA
C#

Transferring output of a program to a file in C


I have written a C program to get all the possible combinations of a string. For example, for abc, it will print abc, bca, acb etc. I want to get this output in a separate file. What function I should use? I don’t have any knowledge of file handling in C. If somebody explain me with a small piece of code, I will be very thankful.



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video