is there an easy way to rename similar named stuff?

for example i have a function dennis(); and i call it 10 times in my program. but suddenly i want to rename the function to dennisM();. is there an easy way to rename them all at once?
Use Ctrl+H in your IDE. Be careful not to replace things unintentionally.
VS and some other IDEs have an option to do this listed in a "Refactor Code" submenu. I think in VS you highlight, right click, refactor, rename this token or whatever.
In eclipse, click on the function/variable name and press CTRL + ALT + R. Then you can edit the name and it will be changed wherever else it is used.
You can use Eclipse for C++?
Yes, you can with Eclipse CDT.
thanks, found the option in control + H. im using notepad++ btw. :)
Topic archived. No new replies allowed.