Hello,
I am in an introductory c++ programming class, and my program uses infile to read a .txt file and uses cout to display the contents. The program works great, but I had to put my text file in users/home/library/developer/xcode/deriveddata/PPC_5-aksdjhgad/build/products/debug/
That is a mouthful! Is there an easier way to include my textfile, or build my program in the same directory as my .cpp file?
I am in an introductory c++ programming class, and my program uses infile to read a .txt file and uses cout to display the contents. The program works great, but I had to put my text file in users/home/library/developer/xcode/deriveddata/PPC_5-aksdjhgad/build/products/debug/
That is a mouthful! Is there an easier way to include my textfile, or build my program in the same directory as my .cpp file?