• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
New to Xcode and need help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New to Xcode and need help


  • Subject: New to Xcode and need help
  • From: RC <email@hidden>
  • Date: Wed, 22 Jun 2005 08:30:17 -0400

I have spent the past four days trying to do a simple port of a very small C++ command line tool from CW and have found the experience incredibly painful. First, I ran across the totally undocumented necessity of defining USE_HEADERMAP = no to prevent the substitution of local headers for system headers. I found out about this solution only by perusing the archive of this mailing list and having the good fortune of someone else having a similar problem in the month of June. A google search on USE_HEADERMAP basically points to mailing lists with people having this problem within Xcode. So this "solution" truly is undocumented. I do not wish to rename the file causing the problem, because the port is a small subset of a much larger program and I think #include " " and #include < > should provide the appropriate differentiations.

Now I am trying to run the debugger and my program refuses to accept input from the keyboard. The program basically freezes at the line

std::getline(std::cin, a);

where a is a std::string. So how am I supposed to input data into my program from the keyboard when debugging, and where do I find the solution within the documentation? I am trying to type my input in the console window.

Both problems exist in 1.5 and 2.1.

Thanks for helping out a newbie,
RC
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: New to Xcode and need help
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Auto-complete and connections
  • Next by Date: Re: Opening "sdef" files as XML
  • Previous by thread: Auto-complete and connections
  • Next by thread: Re: New to Xcode and need help
  • Index(es):
    • Date
    • Thread