Please, need some help with the VC 2005 IDE!
I don't know what is going on or what I possibly could have done, but some of the most common actions are not available to me though they should be, and I was hoping someone might be able to tell me what I am doing wrong:
After creating a Win32 Console application, adding a class, I switch to the "class view" tab in the explorer. I should (at least that is what my book tells me) able to right click on the class I just added and select "Add Member Variable" to add a member variable to the class I just created. However, all I get is "go to definition, go to declaration, sort.., properties, copy..ect, but nothing about adding a member variable or function.
I then attempted to check on the tool bar menus and found nothing. What am I doing wrong, I used to use VC6 so I am familar with what I am trying to accomplish.
Please help!
You don't necessarily need the class viewer to add a member variable.
Such additions are easily added via code. For example:
Such additions are easily added via code. For example:
class CMyClass{ public: int memberVariable; float anotherMember;};
Thanks Sol:
But it annoys me to no end if something isn't working right, until I fix it or find an answer.
But it annoys me to no end if something isn't working right, until I fix it or find an answer.
After Goto Def and Goto Decl... in the middle of the pop up there's Add >, then you can select to add a Function or a Variable.
No, on mine, if you right click the class name, you get the following as your only menu option:
Go to Def
Go to Dec
browse Def
Find a ref
filter to type
copy
sort alpha
sort object type
sort object access
group
properties
There isn't any Add > member anything anywhere either on that menu or one of the tool bar menu's either.
Anyone>??
Go to Def
Go to Dec
browse Def
Find a ref
filter to type
copy
sort alpha
sort object type
sort object access
group
properties
There isn't any Add > member anything anywhere either on that menu or one of the tool bar menu's either.
Anyone>??
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement