Code runs perfect in g++ but not in Xcode - Cannot find File

后端 未结 2 1409
梦如初夏
梦如初夏 2020-11-28 15:37

I have created a text file with content. It is located in the same folder as the cpp files. And I have confirmed several times that the file exists. When I run g++, compile

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 16:02

    Try to add files to the project in XCode or use the absolute path instead.

提交回复
热议问题