Hi
I just installed Borland C++ , actually unzipped and copied over from floppies onto Windows 98, not sure which version but it sure is old, and has this kinda DOS interface (runs in a DOS window).
As for my first lesson :D, I copied a few lines of code from a C++ book and tried to run (Ctrl + F9) after saving the file as C:\windows\desktop\codes\peas.cpp, but had the following errors.
What gives?
BTW, the path to bc.exe is C:\Borland C++\BORLANDC\BIN\. Is this fine?
Thanx.Code:Compiling C:\WINDOWS\DESKTOP\CODES\PEAS.CPP:
Error C:\WINDOWS\DESKTOP\CODES\PEAS.CPP 1: Unable to open include file 'IOSTREAM.H'
Error C:\WINDOWS\DESKTOP\CODES\PEAS.CPP 2: Undefined symbol 'cout' in function main( )
Error C:\WINDOWS\DESKTOP\CODES\PEAS.CPP 3: Undefined symbol 'cin' in function main( )
etc.
Warning C:\WINDOWS\DESKTOP\CODES\PEAS.CPP 26: 'total_peas' is assigned a value that is never used in function main( )