Click here to Skip to main content
15,890,609 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionim upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
amit shrestha29-Jun-08 21:46
amit shrestha29-Jun-08 21:46 
AnswerRe: im upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
KarstenK29-Jun-08 21:56
mveKarstenK29-Jun-08 21:56 
AnswerRe: im upgrading from vs2003 to vs 2005 and the following code is creating a big error..... i wish anyone can help me fix the problem!! Pin
KarstenK29-Jun-08 22:37
mveKarstenK29-Jun-08 22:37 
QuestionCDialog::DoModal fails in a DLL Pin
sashoalm29-Jun-08 21:11
sashoalm29-Jun-08 21:11 
AnswerRe: CDialog::DoModal fails in a DLL PinPopular
Naveen29-Jun-08 21:15
Naveen29-Jun-08 21:15 
GeneralRe: CDialog::DoModal fails in a DLL Pin
sashoalm29-Jun-08 23:11
sashoalm29-Jun-08 23:11 
AnswerRe: CDialog::DoModal fails in a DLL Pin
Paresh Chitte29-Jun-08 21:38
Paresh Chitte29-Jun-08 21:38 
Questionvisual studio 6.0 to 2005 Pin
vibindia29-Jun-08 20:26
vibindia29-Jun-08 20:26 
I have created and project in MS visual studio 6.0 as below

#include "stdafx.h"
#include <iostream.h>
class Rational
{
	double r;
public:
	Rational(int numerator, int denominator)
	{
		r = numerator/denominator;
	}
	operator double()const
	{
		cout<<r<<endl;
	}
};

int main(int argc, char* argv[])
{
	Rational r(1,2);
	cout<<r;
	cout<<endl;
	return 0;
}

It works fine.

But when I build the same in MS visual studio 2005, the following error comes

1>c:\problemimplicittypeconversion\implicittypeconversion.cpp(5) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory

How to rectify this problem

VIBIN

"Fool's run away,where angle's fear to tread"

AnswerRe: visual studio 6.0 to 2005 Pin
_AnsHUMAN_ 29-Jun-08 20:33
_AnsHUMAN_ 29-Jun-08 20:33 
GeneralRe: visual studio 6.0 to 2005 Pin
Nibu babu thomas29-Jun-08 22:09
Nibu babu thomas29-Jun-08 22:09 
GeneralRe: visual studio 6.0 to 2005 Pin
_AnsHUMAN_ 29-Jun-08 22:27
_AnsHUMAN_ 29-Jun-08 22:27 
QuestionRe: visual studio 6.0 to 2005 Pin
rp_suman29-Jun-08 20:44
rp_suman29-Jun-08 20:44 
QuestionRe: visual studio 6.0 to 2005 Pin
David Crow30-Jun-08 3:10
David Crow30-Jun-08 3:10 
QuestionNeed help in Threading concept Pin
nisha0000029-Jun-08 20:18
nisha0000029-Jun-08 20:18 
AnswerRe: Need help in Threading concept Pin
_AnsHUMAN_ 29-Jun-08 20:22
_AnsHUMAN_ 29-Jun-08 20:22 
AnswerRe: Need help in Threading concept Pin
Mark Salsbery29-Jun-08 20:24
Mark Salsbery29-Jun-08 20:24 
AnswerRe: Need help in Threading concept Pin
rp_suman29-Jun-08 20:26
rp_suman29-Jun-08 20:26 
AnswerRe: Need help in Threading concept Pin
Hamid_RT30-Jun-08 20:22
Hamid_RT30-Jun-08 20:22 
Questionatlsmtpconnection.h not found in VS 2008 Pin
theCPkid29-Jun-08 19:51
theCPkid29-Jun-08 19:51 
Questiondisplay symbol at some address Pin
George_George29-Jun-08 19:12
George_George29-Jun-08 19:12 
AnswerRe: display symbol at some address Pin
«_Superman_»29-Jun-08 19:29
professional«_Superman_»29-Jun-08 19:29 
GeneralRe: display symbol at some address Pin
George_George29-Jun-08 19:34
George_George29-Jun-08 19:34 
GeneralRe: display symbol at some address Pin
«_Superman_»29-Jun-08 20:33
professional«_Superman_»29-Jun-08 20:33 
GeneralRe: display symbol at some address Pin
George_George30-Jun-08 1:12
George_George30-Jun-08 1:12 
GeneralRe: display symbol at some address Pin
«_Superman_»30-Jun-08 8:14
professional«_Superman_»30-Jun-08 8:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.