hello
can any body how to correct this program
The errors areCode:#include<iostream> #include<conio.h> #include<dos.h> using namespace std; void main() { char nm[25]; cout<<"Enter your name: "<<endl; cin>>nm; for(int i=0;i<25;i++) { cout.write(nm,i); delay(100); } getch(); }
'main must return int'
'delay' function undeclared
Iam using DevCpp iam new to it before i was using Turbo C++
please anybody help me