Visual C++ Team in the Cabana
Members of the Visual C++ team are in Cabana 5/6 answering questions about Visual C++. Stop by if you're here at TechEd in San Diego and say hi.
Comments
- Anonymous
May 25, 2004
Hi,
I am still Student and would like to know, if VC++ and Vc++.NET are thesame? I mean if I can compile, build etc, just normal things in C++, without web-comlications. I am asking it, becoase I noteced by using (VC++ 6) such std libs as <fstream> and <iostream> a lot of warning coming from the iplimentation of this libs, where is programming really "not cleer". Thanks a lot for your atencion!
best regards
anastasia - Anonymous
May 26, 2004
The comment has been removed - Anonymous
May 28, 2004
Hi,
I am a student in china and a beginer to c++,I got a problem when excuted linking of this programme:
#include <stdlib.h>
#include <iostream.h>
#include <stdio.h>
#include <winsock2.h>
void main(int args,char** argv)
{
WSADATA data;
SOCKET lSock,aSock;
SOCKADDR_IN sockaddr;
char c[]={"How are you!"};
int length=12;
int port=2000;
if(WSAStartup(MAKEWORD(2,2),&data)!=0)
{
cerr<<"Load socket failed!"<<endl;
exit(1);
}
lSock=socket(AF_INET,0,0);
if(lSock==SOCKET_ERROR)
{
cerr<<"Create socket failed!"<<endl;
exit(1);
}
sockaddr.sin_addr.s_addr=htonl(0);
sockaddr.sin_family=AF_INET;
sockaddr.sin_port=htons(port);
if(bind(lSock,(SOCKADDR *)&sockaddr,sizeof(SOCKADDR_IN))==SOCKET_ERROR)
{
cerr<<"Bind socket failed!"<<endl;
exit(1);
}
//The left of the programme was omitted,
//all of that forms a Server Model applied
//to the net.
}
When I compile the programme, There is no
wrong,but linked,The error message printed
in the output window like this:
error LNK2001: unresolved external symbol
(such as _closesocket@6,...,_socket@12,_WSAStartup)
I try my best to solve the problem but failed,
I am grateful to your help.and my email is
mingyurui@sina.com
Thank you! - Anonymous
May 29, 2004
I'm study C++ one year age. But I Can't understand API - Anonymous
May 30, 2004
#include <iostream>
#include <cconio>
int main()
{
char ad;
cout<<"ad gir";
cin>>ad;
cout<<"vhar"<<ad<<endl;
getch();
return 0;
} - Anonymous
June 07, 2004
I am working on a project. I have to convert some files ( perhaps HTML,MHTML,Doc,Txt etc.) into a single CHM,and also, the User can reload the CHM that had been generated for some modification. I don't even konw how to make and modify a CHM file using MFC. I am using Visual C++ 6.0. I hope some one could give a example. It could just cover only HTML2CHM and reload HTML from CHM for simple.
Thank you very much! - Anonymous
June 07, 2004
Upstairs greatbear99@hotmail.com - Anonymous
August 06, 2004
I am trying tutorial on "Internet Explorer Toolbar (Deskband)'By Erik Thompson .
I m getting error:
Linking...
Creating library Debug/FountainTool.lib and object Debug/MotleyFool.exp
StockBar.obj : error LNK2001: unresolved external symbol "public: void __thiscall CEditQuote::SetBand(class CStockBar *)" (?SetBand@CEditQuote@@QAEXPAVCStockBar@@@Z)
Debug/MotleyFool.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.