c语言必背100代码 使用C语言创建一个动态链表?

使用C语言创建一个动态链表?函数名:MKDIR函数:创建目录(文件夹)用法:int MKDIR(char*pathname)程序示例:(通过win tc和DEV-C运行)#include#includ

使用C语言创建一个动态链表?

函数名:MKDIR

函数:创建目录(文件夹)

用法:int MKDIR(char*pathname)

程序示例:(通过win tc和DEV-C运行)

#include

#include

#include

int main(void)

{

int status

system(“CLS”)

]status=MKDIR(“book”)/*这是创建一个预订*/](!在程序所在的当前文件夹中?(printf(“directory createdn”):

system(“use”)

system(“direct”)/*创建后显示当前文件夹下的文件信息*/

system(“use”)

status=rmdir(“book”)/*删除创建的文件夹book*/](!状态)?(printf(“directory deletedn”):

](PERROR(“able to delete directory”)

system(“pause”)

返回0

}