visual c++
-
Hello, Please help me for following problem I am facing while developing an application in VC++ 5.0. My application has suddenly stopped showing newly created variables and functions in class view pane of project workspace window. It works well in other newly created projects. Therefore I suspect that something unwanted has happened to my application. Please advice at my email address gs_gupta@hotmail.com. Thanks in advance. Lets share our knowledge and make this world even more beautiful.
-
Hello, Please help me for following problem I am facing while developing an application in VC++ 5.0. My application has suddenly stopped showing newly created variables and functions in class view pane of project workspace window. It works well in other newly created projects. Therefore I suspect that something unwanted has happened to my application. Please advice at my email address gs_gupta@hotmail.com. Thanks in advance. Lets share our knowledge and make this world even more beautiful.
Delete (or rename) your .clw file. (2b || !2b)
-
Delete (or rename) your .clw file. (2b || !2b)
I'd go further than that. You should also shut down DevStudio and delete the .ncb and .opt files. Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."
-
I'd go further than that. You should also shut down DevStudio and delete the .ncb and .opt files. Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I used to be a medieval re-enactor, but I'm (nearly) alright now..."
...and i'd go further than that and suggest that people just stop using class view altogether. :) -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
-
...and i'd go further than that and suggest that people just stop using class view altogether. :) -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
-
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
-
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
-
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
I never used to use it at all until I started my current job. All of a sudden I was working on a project with over 1700 classes. ClassView became the easiest way to navigate through all of that without becoming completely lost. How do you manage large projects? I can see that it would be easy on a code base you wrote all of but what of the ones you have to start in the middle of? Joseph Dempsey jdempsey@cox.rr.com Joseph.Dempsey@thermobio.com "Software Engineering is a race between the programmers, trying to make bigger and better fool-proof software, and the universe trying to make bigger fools. So far the Universe in winning." --anonymous
-
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
i'm file view, 100%. class view is worthless to me. -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
-
That's an interesting point:- How many of you actually use the classview? I don't mean the class wizard (I only use that when assigning names to variables, etc). I don't think i've ever used it in my life, other than "what does this tab do?".
I mostly use the file-view nowadays, because the classes kept dissapearing, as soon as I changed something, and I didn't want to open the header file and save it everytime. I sometimes use the class-view to create member functions, because it's quicker, but that doesn't work allways... maXallion
"Look for bugs, I hate bugs!" - Warden, The Mummy
www.maxallion.de - coded evil & more -
Especially when deploying OOD in your project, how else would you navigate thru your alll your classes?
it's easy! CThisClass goes in ThisClass.cpp and ThisClass.h . :) ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
-
i'm file view, 100%. class view is worthless to me. -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
The only thing the class view brings to the table is the ability to do the intellisense stuff. The key is that intellisense depends on the clw and ncb file being up to date. If the NCB file gets corrupted (intellisense will not work if this is the case), merely shut down the IDE, delete the NCB file, and restart the IDE. At that point, intellisense should start working again.
-
The only thing the class view brings to the table is the ability to do the intellisense stuff. The key is that intellisense depends on the clw and ncb file being up to date. If the NCB file gets corrupted (intellisense will not work if this is the case), merely shut down the IDE, delete the NCB file, and restart the IDE. At that point, intellisense should start working again.
The only thing the class view brings to the table is the ability to do the intellisense stuff. Sorry, but Intellisense works in the editor, not in the Workspace docking window. The only common thing is that they both use .ncb file. Tomasz Sowinski -- http://www.shooltz.com
-
i'm file view, 100%. class view is worthless to me. -c ------------------------------ Smaller Animals Software, Inc. http://www.smalleranimals.com
When I want to jump to the definition (or declaration) of a function, Class View is much faster than firing up the Browser (not to mention saving the extra time to compile with browser info generation) or search in all filesl. Sure, I could use a tags tool, but ClassView is fine for most of my work, so why bother. Of course, ClassView does suffer a lot with respect to real C++ code (i.e., namespaces, templates, etc.) just as IntelliSense does, but it's still quite useful for my work.
-
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
-
When I want to jump to the definition (or declaration) of a function, Class View is much faster than firing up the Browser (not to mention saving the extra time to compile with browser info generation) or search in all filesl. Sure, I could use a tags tool, but ClassView is fine for most of my work, so why bother. Of course, ClassView does suffer a lot with respect to real C++ code (i.e., namespaces, templates, etc.) just as IntelliSense does, but it's still quite useful for my work.
Just a point that I stumbled on recently - the class view is limited to classes/etc contained in files with standard c++ extensions. I've been working on a legacy prog that was originally a 16 VC 1.52 project, and made use of a third party GUI design tool that subclassed the mfc window classes and used a convention of '#including' c++ code from files with non-standard extentions (e.g. XXc instead of cpp). (I know - yucch) The no-compile-browser (ncb) can't deal with the stuff in these files - if you want to jump to the decl of one of these wrappers, you need to build the real browse info (or, yes, do the Find In Files thing). Wonder if there's something I'm missing here - can we add these extensions to VC somehow so that these classes will show?
-
I don't think i've ever used it in my life, other than "what does this tab do?" I'm using ClassView as primary workspace/project navigation tool. Are you using File View to move between your classes? Tomasz Sowinski -- http://www.shooltz.com
No, I use the wizard bar (I think thats what it's called).
-
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
the fileview works fine if you use something like Visual Assist ;P maXallion
"Look for bugs, I hate bugs!" - Warden, The Mummy
www.maxallion.de - coded evil & more -
likewise ... i stopped using the fileview a long whiles ago as just too inefficient when you have >100 member functions in some classes --- "every year we invent better idiot proof systems and every year they invent better idiots"
> likewise ... i stopped using the fileview a long whiles ago as > just too inefficient when you have >100 member functions in > some classes Wow - I think you need to do some more decomposition resulting in more classes with fewer members. Dale Thompson
-
Just a point that I stumbled on recently - the class view is limited to classes/etc contained in files with standard c++ extensions. I've been working on a legacy prog that was originally a 16 VC 1.52 project, and made use of a third party GUI design tool that subclassed the mfc window classes and used a convention of '#including' c++ code from files with non-standard extentions (e.g. XXc instead of cpp). (I know - yucch) The no-compile-browser (ncb) can't deal with the stuff in these files - if you want to jump to the decl of one of these wrappers, you need to build the real browse info (or, yes, do the Find In Files thing). Wonder if there's something I'm missing here - can we add these extensions to VC somehow so that these classes will show?
Yim, You can make VC++ automatically highlight them by adding the file extensions to the following registry key;
[HKEY_CURRENT_USER\Software\Microsoft\Devstudio\6.0\Text Editor\Tabs/Language Settings\C/C++]
FileExtensions=cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;cc;XXcThis also seems to allow one to browse through that kind of file with the class browser. -Ben --------- On the topic of code with no error handling -- It's not poor coding, it's "optimistic" ;)