Error message when compiling while-loop expected identifier

Posted by Michael Amici on Stack Overflow See other posts from Stack Overflow or by Michael Amici
Published on 2010-05-29T00:48:03Z Indexed on 2010/05/29 0:52 UTC
Read the original article Hit count: 228

Filed under:
|
|

When trying to compile an infinite while loop in xcode iphone view based application, it gives me an error that reads expected identifier or '(' before 'while'. I made it as simple as possible.

#import "Lockerz_NotifierViewController.h"

@implementation Lockerz_NotifierViewController

while (1=1) { NSLog(@"Hello? PLEASE HELP ME!!!!!!!!!!"); }

© Stack Overflow or respective owner

Related posts about xcode

Related posts about error-message