I M A Program Beginner In C. Can Any 1 Help Me Wid How To Create Files In C.

search the Code snippets for fopen because there are several example, such as this one.. If you read the docs for the fopen function it will show you which flags that are needed to actually create the file first if it doesn't exist.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.