C++ Program in Xcode not outputting simple text file using outFile

前端 未结 3 1616
感情败类
感情败类 2020-12-28 16:49

I am running a program using this simple example code to output a text file. I am using Xcode and simply started a new C++ project from command line tools. For some reason t

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-28 17:29

    To find the current working directory, in the project navigator, under the "Products" folder, right-click the product and choose "Show in Finder". In this directory you will also find the compiled code.

    For example: ~/Library/Developer/Xcode/DerivedData/-gweghgfqkjkidjfhcgetdryechjz/Build/Products/Debug

提交回复
热议问题