title: GNUstep: scanf does not accept char
body: <p>I have decided to try out Objective C. Since I do not have a Mac laptop, I have installed GNUStep on my computer. And from the very beginning, I have the following issue.</p>
  
  <p>Code:</p>
  
  <pre><code>// First program
  
  #import &lt;Foundation/Foundation.h&gt;
  
  int main (int argc, const char* argv[])
  {
  NSAutoreleasePool *pool = [[NSAutoreleasePool alloc]init];
  char nameC[50];
  NSLog(@"ENter your name: ");
  scanf("%c", &amp;nameC);
  NSLog(@"Name is: %c", nameC);
  [pool drain];
  return 0;
  }
  </code></pre>
  
  <p>And this is what I get:</p>
  
  <p><img src="https://i.stack.imgur.com/g1OAk.jpg" alt="problem with GNUstep"></p>
  
  <p>Tried unichar, same thing. Does anyone know what is going on?</p>
  
  <p>Thank you!</p>