Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Simple hello world program gives an error

Code:

------------------------------------------------------------

#include "nacsz.h"

int main(int argc,char **argv)

{

printff("Hello world");

}

Gives error:

Linker command failed with:

exit_code 1 (use -v to see invocation)

MacBook Air (13-inch, Early 2015), OS X Yosemite (10.10.5)

Posted on Sep 1, 2015 10:31 PM

Reply
2 replies

Sep 2, 2015 5:34 AM in response to smiththomas_1947

smiththomas_1947 wrote:


Code:

------------------------------------------------------------

#include "nacsz.h"

int main(int argc,char **argv)

{

printff("Hello world");

}

Gives error:

Linker command failed with:

exit_code 1 (use -v to see invocation)

I have never heard of printff but I known Richie and Kernighan support printf in standard C I/O. Is the typo intentional?

Simple hello world program gives an error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.