I am using Turbo C version 3.0, see the following code,
when compiled, causes declaration syntax error


#include<iostream.h>
#include<conio.h>
#include<fstream.h>
using namespace std;
int main()
{
//using namespace std;
ofstream f;
clrscr();
f.open ("ittuz.txt");
cout<<"Created";
f<<"This is a file generated by c++ pgm \n ";
f<<"by /n /t Ajmal thagha Muhammed";
cout<<"Wrted to file";
f.close();
cout<<"closed";
getch();
return 0;
}