Need for Encoding the variables as well in C++?

"Vijay Krishnan" <vijaykrishnan@acmet.com>
25 Jan 2003 01:01:30 -0500

          From comp.compilers

Related articles
Need for Encoding the variables as well in C++? vijaykrishnan@acmet.com (Vijay Krishnan) (2003-01-25)
| List of all articles for this month |
From: "Vijay Krishnan" <vijaykrishnan@acmet.com>
Newsgroups: comp.compilers
Date: 25 Jan 2003 01:01:30 -0500
Organization: Compilers Central
References: <E18aqs7-0007vF-00@pop.net4india.com>
Keywords: C++, question
Posted-Date: 25 Jan 2003 01:01:30 EST

Hi,
I was wondering, as to why is it necessary to encode the variable names as
well, like function name encoding, in C++.
for Eg:
The microsoft VC++ compiler encodes the variables
int a ;
is encoded as ?a@@3HA


The use of namespaces is one point that comes into my mind. Other
than that is there any other requirement?


Thanks in advance.
vijay
mailto : vijaykrishnan@acmet.com


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.