Skip to main content


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 13:34 Go to next message
wind sonic is currently offline wind sonicFriend
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 06:01 Go to previous message
Balakrishna Godavarthi is currently offline Balakrishna GodavarthiFriend
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: Thu Mar 28 11:22:19 GMT 2024

Powered by FUDForum. Page generated in 0.01825 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top