这个为什么不能编译:显示ld.exe||cannot open output file D:\Documents\XU.exe Permission denied|

#include<stdio.h>

#include<stdlib.h>

#include<string.h>

struct link

{

    char name[20];

    char password[20];

    struct link *next;

} link,*linklist;


int main()

{

   

    struct link *L;

    L=(struct link*)malloc(sizeof(struct link));

    strcpy(L->name,"oooo");

    strcpy(L->password,"pppp");


    printf("%s",L->name);

     printf("%s",L->password);

      L->next=NULL;

     free(L);

   

}


   

  //  这个代码错误非常多么,我指针学得不是很好,,,,,希望指点


冯宝宝
浏览 2816回答 1
1回答

_遥不可及_

可以截个编译器的全图么,总觉着不是Permission denied
打开App,查看更多内容
随时随地看视频慕课网APP