am having this problem .........visual studio 2008\projects\project school billing systems\project school billing systems\project school billing systems.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory

and below is my code, can some 1 help me get it right,......... school billing system
from lower primary(1-3)/ upper primary(3-6) and grade 9-12

#include "stdafx.h"
#include <iostream.h>
#include <stdlib.h>

int total =0;
int stage;
char bill [15][100];
char items[15][100];
int main()
	using namespace std;
if (stage<= 3)// lower premary
	cout<<"Enter the number list"<<endl;
for(int a=0; a<15; a++)
	cin>> items[a];
	cout<<"the items for the term are"<<end;
	for(int b=0; a<15; a++)
	cout<<items[b]; // accepting items
	for (c=0; c<15; c++)
	cin>>bill[c]; //accepting bills
	if (bill<0 && bill>0)
		cout<<"please kindly enter an amount"<<endl;
	for(int disp=0; disp<15; disp++)//
	for (int d=0; d<15; d++)

	return 0;

Recommended Answers

All 2 Replies


#include <iostream> //removed .h in the end
#include <stdlib>

Those are not C++ libraries.
nix all of them.
Just use <iostream> (no .h)

You will also need :
using namespace std; //directive

Be a part of the DaniWeb community

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