1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Importing from a file Xcode

Discussion in 'Mac Programming' started by MacDonaldsd, Mar 29, 2006.

  1. macrumors 65816

    MacDonaldsd

    #1
    Im using C++ on xcode, and I need to read from a .txt file

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

    caveman_uk

    #2
    What's the .txt file for? Is it source code or is it a resource?
     
  3. macrumors 65816

    MacDonaldsd

    #3
    Its just raw data, a column of strings and a column of ints
     
  4. Guest

    caveman_uk

    #4
    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.
     

Share This Page