void main() 
{ 
cout<<"Can somebody fix this?"; 
}

hi,
i'm new to C++ programming.
that was my code...
i'm using Turbo C++.
It's showing so many errors!..
I don't know what to do. Please help!!

the errors are listed as follows:
Compilong XYZ.CPP Error XYZ.CPP 1: Unable to open include file 'IOSTREAM.H'
Fatal XYZ.CPP 2: Unable to create output file 'C:\XYZ.obj'

somebody please help!

you haven't include header files which defines cout function.

Add

#include<iostream.h>

before the main method for cout and also write

include<stdio.h>, #include<conio.h>

for getting output for getch() method.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.