this is my code:
// main.cpp module
#include <C:\Borland\BCC55\Include\iostream.h>
using namespace std;
int main(void)
{
// Without "using" statement, this would be std::cout
:cout << "Hi kate!" << end1; // "end1" = next line
return 0;
}
this is the error message:
C:\MYSOURCE>bcc32 main.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
main.cpp:
Error E2209 C:\Borland\BCC55\Include\iostream.h 36: Unable to open include file
'stdcomp.h'
Error E2209 C:\Borland\BCC55\Include\iostream.h 37: Unable to open include file
'istream'
Error E2209 C:\Borland\BCC55\Include\iostream.h 38: Unable to open include file
'ostream'
Error E2141 C:\Borland\BCC55\Include\iostream.h 44: Declaration syntax error
Error E2141 C:\Borland\BCC55\Include\iostream.h 47: Declaration syntax error
Error E2188 main.cpp 13: Expression syntax in function main()
*** 6 errors in Compile ***
I am using the free compliler from Borland, please help me, this is my first C++ program and any help would be good.
-thanks
// main.cpp module
#include <C:\Borland\BCC55\Include\iostream.h>
using namespace std;
int main(void)
{
// Without "using" statement, this would be std::cout
:cout << "Hi kate!" << end1; // "end1" = next line
return 0;
}
this is the error message:
C:\MYSOURCE>bcc32 main.cpp
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
main.cpp:
Error E2209 C:\Borland\BCC55\Include\iostream.h 36: Unable to open include file
'stdcomp.h'
Error E2209 C:\Borland\BCC55\Include\iostream.h 37: Unable to open include file
'istream'
Error E2209 C:\Borland\BCC55\Include\iostream.h 38: Unable to open include file
'ostream'
Error E2141 C:\Borland\BCC55\Include\iostream.h 44: Declaration syntax error
Error E2141 C:\Borland\BCC55\Include\iostream.h 47: Declaration syntax error
Error E2188 main.cpp 13: Expression syntax in function main()
*** 6 errors in Compile ***
I am using the free compliler from Borland, please help me, this is my first C++ program and any help would be good.
-thanks