GOT PROBLEN USING DEV C++

HI
M GETTING A PROBLEM IN A C++ PROGRAMME IN DEV C++ COZ M USING IT FIRST TIME
I MADE A SIMPLE PROGRAMME
WHICH IS
#include<iostream>
using namespace std;
int main(void)
{
cout<<"kulwinder"<<endl;
system("pause");
return 0;
}


THIS SHOWING A WARNING BELOW

[Warning] no newline at end of file


HOW TO REMOVE THIS PROBLEM
ACCORDING TO ME THE WHOLE CODE IS CORRECT
Two things:
1. Add an extra line to end of file.

2. http://www.cplusplus.com/forum/articles/1295/
Im going to also add, you should fix your capslock key =\
THANX QWERTYMAN N ZAITA
BUT WHT SORT OF NEW LINE SHOULD I ADD???
Dear Sir,
You can try the following code:
#include<iostream>
#include<conio>
using namespace std;
int main(void)
{
cout<<"kulwinder"<<endl;
getch();
return 0;
}
Hope this will solve your problem.
With regards,
Matanuragi
After typing in your code. Just press "Enter" a couple of time.
Topic archived. No new replies allowed.