• 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
Re: Basic question (getline function)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic question (getline function)


  • Subject: Re: Basic question (getline function)
  • From: Steve Checkoway <email@hidden>
  • Date: Sun, 29 Oct 2006 16:16:01 -0800


On Oct 29, 2006, at 4:10 PM, A.J. wrote:

...
cin.getline(strn_text, 255);
...

but when I put this into xcode, it gives me the following errors:
Invalid conversion from 'char' to 'char*'
initializing argument 1 of...

What is wrong with this?

My guess is strn_text is a char rather than an array or a pointer to an array of chars.


--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Basic question (getline function) (From: "A.J." <email@hidden>)

  • Prev by Date: Basic question (getline function)
  • Next by Date: Re: Apple's Tools Strategy
  • Previous by thread: Basic question (getline function)
  • Next by thread: gdb command run or set ignores the arguments
  • Index(es):
    • Date
    • Thread