[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what does `extern "C++" ` mean?
From: |
Andy |
Subject: |
what does `extern "C++" ` mean? |
Date: |
31 Jan 2005 22:36:38 -0800 |
User-agent: |
G2/0.2 |
Hi,
This is just a simple hello world program.
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello,world\n";
}
Today I happened to look into the intermediate code genernated by
preprocessor. I found there is code like the follows:
extern "C++"{
....
}
Why we need such code? I am using gcc-3.4.2.
Thanks a lot!
Andy
- what does `extern "C++" ` mean?,
Andy <=