Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » Constructor with parameter
Re: Constructor with parameter [message #9518 is a reply to message #9516] Mon, 14 May 2007 10:57 Go to previous messageGo to previous message
michael is currently offline  michael
Messages: 153
Registered: May 2007
Location: Germany
Experienced Member
If if use your class example, how does my constructor has to look like?

What i want to do?

I want to use the class EditDialog for editing existings database entries and for creating new database entries.

Therefor i want to construct two objects of my class EditDialog, one for example with the title "Create" and one with the title "Edit".

What does my Class and my constructors has to look like do realize this?

Michael
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to compile with Irrlicht
Next Topic: How to access other classes variables?
Goto Forum:
  


Current Time: Thu May 16 10:43:21 CEST 2024

Total time taken to generate the page: 0.02068 seconds