0
私はObjective Cを学習していて、大きな困難を抱えています。これは入力されたもので、私にエラーを与えています。私は太字のテキストをタイプしました。何が悪いですか?それは私int main(void)
ネストされた機能は無効です。 f-nested関数を使用して再度有効にする
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [NSAutoreleasePool alloc] init];
// **#include <stdio.h>
int main(void)
int amount = 1000000;
printf("The amount in your account is $%i\n", amount);
return 0;
}**
NSLog(@"Hello, World!");
[pool drain];
return 0;
}