[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nifty C++ features
From: |
David Rasmussen |
Subject: |
Nifty C++ features |
Date: |
Tue, 27 Jan 2004 16:51:38 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 |
How do I get emacs to open the file that a variable, function or class
is defined in, given that it is in the current directory?
Example:
int main()
{
Position pos;
cout << pos << endl;
Moves mvs;
generateMoves(pos,mvs);
for (int i = 0; i < mvs.size(); ++i)
cout << mvs[i] << " ";
}
I want to be able to place the cursor anywhere in the "generateMoves"
string, and press some keys, and then emacs should open, in a new
buffer, the file where generateMoves is defined.
/David
- Nifty C++ features,
David Rasmussen <=