First off, this question has nothing to do with the horrid, nasty, vile myspace site.
Well, I'm tring to find some reason to get out of doing my general ed homework currently...so I'm looking into my old computer programming book for of my classes.
I had a question on namespaces (the language would be in C++, although I seriously doubt it would actually matter what language it is in...anyway) my book lists the "creation" of the names spaces reason as a standard way to get around the global identifier naming thing, where if I had a identifier inside a header file that had the same name as a global identifier in my program, it would generate a compiler error since the global identifiers in the header file become the global identifiers in my program (client file).
Anyway, my question is, is this REALLY that much of a problem enough to build a function for it into the actual language itslef? I understand that if there WAS no such thing as a namespace, i would have to type the
2007-02-10
17:43:10
·
3 answers
·
asked by
D
4
in
Computers & Internet
➔ Programming & Design
ClassName::membername before referencing every member of a class (and yes I mean by an object). This honeslty would seem like something that should be dealt with by the programmer, so is it really that big of an issue, and why?
Please answer...I don't want to do my general ed homework....please......?!?!?!
2007-02-10
17:44:40 ·
update #1
Man I spunk the good englishez, I don't needs no object framework!
2007-02-10
17:46:07 ·
update #2
answer now...
2007-02-10
17:51:00 ·
update #3