• Advertisement
Sign in to follow this  

a couple of vc 2005 questions

This topic is 4172 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

a couple of quick vc2005 questions A/ how to speed up compiling/linking (im using pch correctly) but compaired to vc6, copiling is ~50% slower + linking is sometimes ~10x slower eg > a minute compared to ~5secs on vc6 (same project of course) B/ with the tabs along the top of the window is it possible to have more than one row? C/ how to get rid of the drop down boxes under the tabs ta zed

Share this post


Link to post
Share on other sites
Advertisement
Quote:
A/ how to speed up compiling/linking (im using pch correctly)
but compaired to vc6, copiling is ~50% slower + linking is sometimes ~10x slower eg > a minute compared to ~5secs on vc6 (same project of course)

Write better code. No, that's really the only way. VC++8.0 (what's in 2005) is taking slower because it's doing a better job. A properly factored program without unecessary dependancies between modules will give you much better results than a pre-compiled header. By all means use a PCH for the standard library - but don't use it as a crutch to avoid proper code organization.

Quote:
B/ with the tabs along the top of the window is it possible to have more than one row?
No. You can, however, have multiple, seperate sets of tabs.

Quote:

C/ how to get rid of the drop down boxes under the tabs


You can't. Learn how to use them instead. They are very helpful.

Share this post


Link to post
Share on other sites
'No. You can, however, have multiple, seperate sets of tabs.'

yeah i saw that but its pretty messy (theres an addon in VC6 that does this, it also shortens the filenames on the tabs which is nice)

'You can't. Learn how to use them instead. They are very helpful.'

how are they helpful, from my understanding they just a lesser form of the classview sidebar.
eg left one seems to show the classes in the current file + the right one shows the functions within that class, very redundent info, is there something else theyre used for, by enabling something in the options perhaps?
it does seem very strange that u cant get rid of them, actually its not logical, after all most of the other stuff u can move around or disable.

Share this post


Link to post
Share on other sites
I could clarify it by saying I couldn't figure out how to get rid of them.

The classview takes up a lot of space. They don't. And they only contain what's in that file.

Share this post


Link to post
Share on other sites
C: Tools -> Options -> Text Editor -> (All languages | C/C++) -> 'Navigation Bar'

Share this post


Link to post
Share on other sites
Awesome. Of course, I like it, so I wouldn't have turned it off anyway.

Share this post


Link to post
Share on other sites
cheers mattd, this might be the cue for other developers to share their tips for vc2005 (like used to happen on flipcode)

Share this post


Link to post
Share on other sites
another question how do u enable it so when youre debugging. u can hover the mouse over a variable in the code + it displays its contents (very useful func that i use all the time)
this is available in vc6 + other IDEs (thus i assume it must also be in vc8 but i havent found the switch to turn it on)

also how to enable showing compile time in the output?
with vc6 u use the /y3 switch

Share this post


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

  • Advertisement