|
|
#1 |
|
Character arrays in Xcode
I want to assign the value of a text field to a character array in Xcode. How would I go about doing this?
Thanks. |
|
|
|
0
|
|
|
#2 | |
|
Quote:
__________________
Sponsor me to cycle 100Km round London in the dark |
||
|
|
0
|
|
|
#3 |
|
Basically, I want to assign
char array[255] to a text input. |
|
|
|
0
|
|
|
#4 | |
|
Quote:
You can do do this in Cocoa with something like: Code:
IBOutlet NSTextView *textView; // Conect in IB ... char *array = [[textView stringValue] UTF8String];
__________________
Sponsor me to cycle 100Km round London in the dark |
||
|
|
0
|
|
|
#5 |
|
OK. To clear this up.
I am using OBJ-C in cocoa, and would like to assign a text input, which is a text box inside a window (not command line) to a C/C++ style character array. |
|
|
|
0
|
|
|
#6 | |
|
Quote:
Perhaps you could read the documentation.
__________________
Sponsor me to cycle 100Km round London in the dark |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| adding NSNumbers in xcode | ghousemd | iPhone/iPad Programming | 2 | Aug 26, 2011 05:56 AM |
| changing Base SDK in xcode started giving errors | hrishidev | Mac Programming | 4 | Apr 21, 2011 01:29 AM |
| Question about reading into a character array (C) | mac2x | Mac Programming | 4 | Nov 6, 2010 11:40 AM |
| Hide linefeed and tab characters in xcode editor | blomma | Mac Programming | 9 | Jun 16, 2010 06:28 PM |
| Do Char Arrays Work The Same in Xcode as they do in Visual Studio? | bobber205 | Mac Programming | 21 | Feb 19, 2007 07:23 PM |
All times are GMT -5. The time now is 05:16 PM.






Linear Mode

