Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C++ Libraries / January 2008

Tip: Looking for answers? Try searching our database.

Partial classes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gudni G. Sigurdsson - 05 Jan 2008 11:05 GMT
Hi.
I have just started to develop a class library with VS2005 and C++.  This
will eventually be a library of many mathematical functions.  I want to have
one class in my library, e.g. AstroCalc, with many member functions.  I want
to divide my functions over many source files for clarity´s sake.  In VS2005
C#, I would use the partial class construct.

How do I do it in VS2005 C++?

Or, maybe, is there something fundamentally wrong with my approach here?

Regards,
Gudni
Mark Salsbery [MVP] - 05 Jan 2008 18:53 GMT
There's nothing wrong with one header (.h) file with the class declaration
and multiple source (.cpp) files with the implementation of the class.

Mark

Signature

Mark Salsbery
Microsoft MVP - Visual C++

> Hi.
> I have just started to develop a class library with VS2005 and C++.  This
[quoted text clipped - 12 lines]
> Regards,
> Gudni

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.