extern"C"の事になりますが、
ttp://www.ueda.info.waseda.ac.jp/~toyama/network/program/inet-dom/iclient.html
こんな感じの、プログラムのmain()の部分をclient()に変えて
#include "client.h"をヘッダに加えて、client.cとして保存。
そして#include "client.h"に、
// __cplusplusによって、C++のときのみextern "C"を有効にします
#ifdef __cplusplus
extern "C"{
#endif

void client();

#ifdef __cplusplus
}
#endif
こんなのを書いて保存。
最後にmain.cppとして
#include "client.h"

void main(void)
{
client(); // C言語で書かれた関数の呼び出し
}
こんなのを書いて、コンパイルしてみたのですが、外部シンボルWinmainが
未解決と出てきますが、どうすればいいでしょうか?
聞いてばかりですいませんが、もし分かれば教えてください。