GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Jan-2004, 10:35
djovanov djovanov is offline
New Member
 
Join Date: Jan 2004
Posts: 1
djovanov is on a distinguished road

ClassView not showing my classes (VC++, namespace, headers) ?!?!?


I'm using VC++ 6.0 for a project, and I'm trying to organize my classes/files in a manner STL classes are oranized, i.e. include files without '.h' extension.

file : "MyClass"


namespace MyNamespace {

Class MyClass {
...
}
}


file : "MyClass.h"


#include <MyClass>

using namespace MyNamespace;


file : "Main.cpp"


#include <MyClass>

using namepsace MyNamespace;


Using organization like this look fine with me, it compiles fine, but my classview is empty. Any hints or suggestions.

Thanks,
Dejan
  #2  
Old 13-Jan-2004, 04:54
Garth Farley Garth Farley is offline
Invalid Email Address
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
I've never tried this, but I think that *.cpp files are not located by default by #include's. It only seeks for .h files.

If you compile your .cpp file into a .o (or whatever Visual calls it), and place it in your C++ library folder, it might work.

It's not something I've ever tried.
GF
 
 

Recent GIDBlogMore photos on Flickr by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:54.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.