I built a simple program with VC++6.0 and Microsoft Platform SDK,the code is :
#include <stdio.h>
#include <iostream.h>
int main()
{
int r;
double mj;
cout<<"put in r:"<<endl;
cin>>r;
mj=3.1415926*r*r;
printf("mj is%d",mj);
getchar();
return 0;
}
but I got an error message:
libcimtd.lib(iostrini.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned __int64,int,char const *,int)" ( 2@YAPEAX_KHPEBDH@Z)
libcimtd.lib(streamb.obj) : error LNK2019: unresolved external symbol "void * __cdecl operator new[](unsigned __int64,int,char const *,int)" ( _U@YAPEAX_KHPEBDH@Z) referenced in function "protected: virtual int __cdecl streambuf::doallocate(void)"
( doallocate@streambuf@@MEAAHXZ)
Debug64/H.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
When I delete the "cin" and "cout",I can link it very well.
Why I have made a good opengl program under the same setup but also without "cin" or "cout".

why I can't use "cin" or "cout" when I making a 64bit program?
EPINAUD
Redmanmc
Dave_B
I'm true it's a 64bit program.
Koob
If you have msdn subscription, you can download the July CTP build of VS2005 where full support of 64bit development is present.
Thanks,
Ayman Shoukry
VC++ Team.
DexySeeksHelp
dovotowork
Specifically the STL (and MFC/ATL) headers and libraries that ship with Visual C++ 6.0 do not support 64bit development: this is why you are seeing build errors.
HimanshuG
Thanks,
Ayman Shoukry
VC++ Team
GSX0r
Could you include a link from where exactly you installed it so that I can try to reproduce the error myself
Also, how did you point to the 64bit compiler tools instead of the x86 ones in your case
Thanks,
Ayman Shoukry
VC++ Team
DevGuy
Sare1
I only have a chinese docnment about built a 64bit project under VC6.0,but I think these must be have some english documents in microsoft's webs.
Danik
Lyners
Thanks,
Ayman Shoukry
VC++ Team.