Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to solve naming conflicts by using namespace

Status
Not open for further replies.

ff

Electrical
Feb 20, 2002
1
Dear all,
When I use Standard Template Library to develop my program by using an existing tool, I find that the tool package also defined its own list, stack and set class. How can I solve this naming conflicts? I consulted namespace facilities, but didn't figure out how to do it without chaning the tool package...
Thank you for your reply.
ff
 
Replies continue below

Recommended for you

Can you be more specific. What do you mean "an existing tool" I find that simply declaring:

using namespace std

below my includes does the trick. Mind you, it's in the MS Visual C++ compiler. It's been awhile since I've used the borland tools.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor