Jump to content
  • Advertisement
Sign in to follow this  

Please, need some help with the VC 2005 IDE!

This topic is 4346 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
Advertisement
You don't necessarily need the class viewer to add a member variable.
Such additions are easily added via code. For example:


class CMyClass
{
public:

int memberVariable;
float anotherMember;
};

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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>??

Share this post


Link to post
Share on other sites
Well I finally found a forum, linking to another forum, stating that the express addition of VC++ 2005 doesn't have the ADD Member feature available period. It is only available in the full version, which atleast puts some closure on this issue if indeed that is the case.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!