Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How can i deal with functions with the same name and exist in different .h?
How can i deal with functions with the same name and exist in different .h? [message #1031276] Mon, 01 April 2013 09:34 Go to next message
wind sonic is currently offline wind sonic
Messages: 1
Registered: April 2013
Junior Member
Now my project has 2 header files,A.h in folder AA,A.h in folder BB, Both of them have a function named setname(),I call it in main.cpp,when i try to F3 it,it always jump to prototype in AA/A.h,but actually, i want to use BB/A.h,Is there any choices?
Like a choose dialog,or exclude AA folder in my project?
Re: How can i deal with functions with the same name and exist in different .h? [message #1036245 is a reply to message #1031276] Mon, 08 April 2013 02:01 Go to previous message
Balakrishna Godavarthi is currently offline Balakrishna Godavarthi
Messages: 2
Registered: April 2013
Junior Member
I cpp we have function overloading ,so there should be difference in formal arguments.

never mind if this post is not correct.
Previous Topic:CDT fails to find references of C struct members
Next Topic:Linker Problems
Goto Forum:
  


Current Time: Fri Aug 22 09:45:46 EDT 2014

Powered by FUDForum. Page generated in 0.01987 seconds