Problem with Microsoft Visual C++ Cannot open include file
Not what you're looking for?
I have problem with Microsoft Visual Studio .Net 2003 C++
I can't run almost all of program that already worked. when I do "copy" and "past"
these programs in Microsoft Visual Studio .Net C++ , all these program send same error:
f:Assignment-1stdafx.cpp(9): fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory.
One of programs is:
#include<iostream.h>
#include<conio.h>
#include<string.h>
char xor(char a,char b)
{
if((a=='0' && b=='1') || (a=='1' && b=='0'))
return '1';
else
return '0';
}
void main()
{
clrscr();
int n,i=0;
char s[2][50];
cout<<"enter length-";cin>>n;
char *s1,*s2,*s_and,*s_or,*s_xor=new char[n];
cout<<"n Enter first bit string- ";cin>>s1;
cout<<"n Enter second bit string- ";cin>>s2;
while(n>0)
{
s_xor[i]=xor(s1[i],s2[i]);
s_and[i]=(s1[i]&s2[i]);
s_or[i]=s1[i]|s2[i];
n--;
i++;
}
s_and[i]='';
s_or[i]='';
s_xor[i]='';
cout<<s_or<<"(BITWISE OR)<<endl<<s_and<<"(BITWISE AND)"<<endl<<s_xor<<"(BITWISE XOR)";
getch();
}
please help me
thank you
Purchase this Solution
Solution Summary
Here you will learn how to fix Visual Studio .NET fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory.
Solution Preview
Your problem description as well as the program file is a little bit unclear. For example,
a) You have mentioned your programs already worked, but you have not mentioned if it worked ...
Purchase this Solution
Free BrainMass Quizzes
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.
Basic Networking Questions
This quiz consists of some basic networking questions.
C# variables and classes
This quiz contains questions about C# classes and variables.
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.