• 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
Problem with 'scanf'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with 'scanf'


  • Subject: Problem with 'scanf'
  • From: Jean-Baptiste Le Stang <email@hidden>
  • Date: Thu, 26 Sep 2002 19:34:56 +0200

I don't know if it's the right place to post this, but can someone tell me
why this in Project Builder is not running as it should. Thanks

JB (who is trying to learn C before Obj-C)

#include <stdio.h>

int main () {
int n1,n2;
printf("Enter a number\n");
scanf("%d",&n1);
printf("Enter a number\n");
scanf("%d",&n2);
return 0;
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Problem with 'scanf'
      • From: Ondra Cada <email@hidden>
    • Re: Problem with 'scanf'
      • From: "Stephen C. Gilardi" <email@hidden>
  • Prev by Date: [OT] newbie buildung error PB on Windows
  • Next by Date: Question about gdb
  • Previous by thread: [OT] newbie buildung error PB on Windows
  • Next by thread: Re: Problem with 'scanf'
  • Index(es):
    • Date
    • Thread