C code execution on AIX
Posted: Wed Jun 06, 2007 6:27 am
I have written a sample program
#include<stdio.h>
main()
{
print ("Hello World");
}
I know that I have set up the C++ compiler bez when I type CC on the command prompt I get the help related to it.
I am compiling as
cc -o <Program name>
It is not giving any warning during the compilation.
But while running it says syntax error.
Thanks in advance
#include<stdio.h>
main()
{
print ("Hello World");
}
I know that I have set up the C++ compiler bez when I type CC on the command prompt I get the help related to it.
I am compiling as
cc -o <Program name>
It is not giving any warning during the compilation.
But while running it says syntax error.
Thanks in advance