Am 25.01.2014 15:46, schrieb igorland:
> char nameC[50];
> NSLog(@"ENter your name: ");
> scanf("%c", &nameC);
> NSLog(@"Name is: %c", nameC);
%c formatting stands for a single character, not a string. Just the same
as in plain C.
Markus
--
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.reprap-diy.com/
http://www.jump-ing.de/
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep