J. of KYC
08-31-2009, 11:52 AM
Hi Guys,
I'm attempting to learn how to program in my freetime, part time between work. This is a problem for me. I don't have the fundamentals of any sort of programming, but have been requently advised that C is the base for all.
So, I'm trying to compile by second program based off a book called 'C Programming in Easy Steps' and getting a bit lost.
I've produced this code based of the book, and compiled it with the following result:
#include <stdioh>
int main()
{
int num=100;
double pi=3.1415926536;
printf ( "Integer is %d \n", num );
return 0;
}
vars.c:9:2: warning: no newline at end of file
What exactly does this mean? Thanks for your help in advance.
Jess.
I'm attempting to learn how to program in my freetime, part time between work. This is a problem for me. I don't have the fundamentals of any sort of programming, but have been requently advised that C is the base for all.
So, I'm trying to compile by second program based off a book called 'C Programming in Easy Steps' and getting a bit lost.
I've produced this code based of the book, and compiled it with the following result:
#include <stdioh>
int main()
{
int num=100;
double pi=3.1415926536;
printf ( "Integer is %d \n", num );
return 0;
}
vars.c:9:2: warning: no newline at end of file
What exactly does this mean? Thanks for your help in advance.
Jess.