小编Cra*_*Tux的帖子

无法使用 fopen() 打开文件;函数 - C 编程

  1. 我正在尝试创建一个使用该fopen();函数的程序。

  2. 我的问题是fopen();找不到文件。

    • 当我使用perror("Error");输出时Error: No such file or directory.
  3. 我已经阅读了这篇文章,但它们并没有解决我的问题:

  4. 我的操作系统是 ubuntu mate 20.04。

  5. 这是我的代码:

    /* File Name: firstTransaction.c 
     * File Mission: scan the input files and make the first transaction.
     */
    
    #include "defines.h"
    
    /*
     * first transaction file:
     * Allocating new memory for the assembly source file.
     * Scanning the assembly source file.
     * @param filename - the filename of …
    Run Code Online (Sandbox Code Playgroud)

c linux

0
推荐指数
1
解决办法
59
查看次数

标签 统计

c ×1

linux ×1