can anybody give me some pointers on how to create folders/folder in C/C++?

There is no standard way to do this you will need to check your operating system library manuals.

In the WIN32 API there is CreateDirectory, however Linux will use something different as would .NET

thnks for the reply banfa,but does it mean that their is no distinction between a file and a folder in C?

C has absolutely no knowledge of folders and very little knowledge of files except in a generic sense.

However there is a distinction, C does provide a way to create and access files but provides no way to do the same for folders/directories.

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.