From: Lozza Newsgroups: comp.os.msdos.djgpp Subject: CANNOT GET ANYTHING TO WORK!! Date: Sat, 16 Jan 1999 10:40:05 +0000 Organization: Virgin News Service Lines: 23 Message-ID: <36A06C85.3A8C@virgin.net> NNTP-Posting-Host: 212.250.194.83 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Path is fine... Must be the code - can anyone help ? #include int a, b, c; void main() { cout << "Give me a number for A. \n"; cin >> a; cout << "\n\n Give me a number for B. \n"; cin >> b; cout << "\n\n Give me a number for C. \n"; cin >> c; cout << "The average for A B C is: " << (a + b + c) / 3; return ; } I know iostream.h is not available - anyone any other ideas? Keep getting undeclared variable for cout, cin etc.. Thanks.