相关疑难解决方法(0)

为什么getcwd()不符合ISO C++?

这篇MSDN文章指出getcwd()已被弃用,而且应该使用ISO C++兼容的_getcwd,这就提出了一个问题:是什么让getcwd()不符合ISO标准?

c++ iso

16
推荐指数
3
解决办法
1万
查看次数

无法使用 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

c++ ×1

iso ×1

linux ×1