| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Oct 29, 2006, at 4:10 PM, adamh 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
+-------------------------------------------+ | My computer's Stats | | Mac OS 10.4.7 | | 1 Ghz Apple Powerbook G4 | | Xcode v. 2.2 | +-------------------------------------------+
All help is appreciated and thanks in advance.
~ < [ / adamh \ ] > ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Please keep your posts straight and to the point. Also please comment the code you use as I am still learning OpenGL and Xcode and may not yet understand the meaning of the command. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.