首页 文章
  • 0 votes
     answers
     views

    c,一起使用strtok和strcat

    我正在使用c创建自己的shell但我一直收到错误,我认为这涉及使用 strtok 和 strcat . 请注意 path 和 userInput 是全局字符串 . int myFunction() { char *possiblePaths = getenv(PATH); path = strtok(possiblePaths,":"); path ...

热门问题