PDA

View Full Version : Importing from a file Xcode




MacDonaldsd
Mar 29, 2006, 05:13 AM
Im using C++ on xcode, and I need to read from a .txt file

Where do I put the .txt file in the project ?



caveman_uk
Mar 29, 2006, 05:23 AM
What's the .txt file for? Is it source code or is it a resource?

MacDonaldsd
Mar 29, 2006, 05:26 AM
Its just raw data, a column of strings and a column of ints

caveman_uk
Mar 29, 2006, 06:50 AM
It probably goes in the resources folder then...well it would in a Cocoa program. Not sure it goes there in a C++ program - never written a C++ project in xcode so I don't know.