I have used vs.net 2003 extensively for c# projects, but am starting some
work in c++. When using c# I routinely right click on an object or method
name and browse immediately to its definition, class hierarchy, etc. Very
powerful, obviously. In c++ I don't necessarily find as yet the same
capabilities so far.
For example. assume I am reading code (that I did not write) in conjunction
with a set of header files and libraries provided to me by a third party. I
see this function call within the code:
int n = Foo( x );
I need to find the definition or declaration of Foo(). Is there a way to
use the IDE to trace back from this occurance of Foo (via right click, or
whatever) to get to the header file which defines it and/or any other useful
information about it?
Thanks,
-- Bruce
Bruce - 11 Oct 2004 20:54 GMT
Ooops, the title should have read "tracing the origin of a function"
>I have used vs.net 2003 extensively for c# projects, but am starting some
>work in c++. When using c# I routinely right click on an object or method
[quoted text clipped - 16 lines]
>
> -- Bruce
Gary Chang[MSFT] - 12 Oct 2004 08:24 GMT
Hi Bruce,
> I need to find the definition or declaration of Foo(). Is there a way to
> use the IDE to trace back from this occurance of Foo (via right click, or
> whatever) to get to the header file which defines it and/or any other useful
> information about it?
yes, if you have that function's declaration(e.g. C++ header file) and
implementation(e.g. C++ source file) included in the current project, you
can find its definition just like using C#...
Thanks!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Bruce - 13 Oct 2004 05:49 GMT
Thanks Gary.
-- Bruce
> Hi Bruce,
>
[quoted text clipped - 19 lines]
> rights.
> --------------------
Gary Chang[MSFT] - 13 Oct 2004 07:10 GMT
OK Bruce,
We are delight that we can help you on this issue, good luck!
Best regards,
Gary Chang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------