-
How to create a real interface??
Hi...
I was wondering how to create an interface when i finished coding??
for example i just finished coding a small C++ program for a simple calculator, so how to make it alive in an interface like a real calculator?
Can this be done with the vc++.net ??
Please can anyone help with this?
Thanks for your attention and help!
Kind Regards,
wakish
-
You're talking about a user interface, which is a completely different thing from an interface in the object-oriented sense. Anyway, GUI is implemented by means of a dedicated library, such as MFC, or if you prefer DOS style, conio.h, ncurses. h etc.
Each library uses different APIs and concepts so there's no real "general guidelines" for this. You simply need to pick one library and learn how to use it. I suspect that in the case of a simple calculator, more effort will be needed for implementing the GUI than the actual work needed for the calculator engine itself...
Danny Kalev
-
Danny can u plz give a brief explanation on " interface in the object-oriented sense" plz..thanks..
is it about the implementation of the class header file you are talking about?
And in general, what really does the "interface" mean in programming?
i know interface in the HCI point of view...but not really from the programming point of view!
Last edited by wakish; 10-23-2005 at 04:30 AM.
-
it's not just aa header file. An interface is usually an abstract class that contains only public pure virtual functions. Other classes that inherit from that interface are said to be implementing it, i.e. overriding the pur virtual functions with concrete implementations.
Danny Kalev
-
Since you have vc++.net, the easiest way to make your GUI is by creating a Windows Forms application. (This is one of the options in the "create new project" dialogue box). It basically allows you to use a visual editor to drag-and-drop controls (buttons, textboxes, etc.) onto your "form." You then have to write code for things like what should happen when a button is clicked. I'm guessing you can find a bunch of tutorials for it by googling.
-
 Originally Posted by jayd_fez
Since you have vc++.net, the easiest way to make your GUI is by creating a Windows Forms application. (This is one of the options in the "create new project" dialogue box). It basically allows you to use a visual editor to drag-and-drop controls (buttons, textboxes, etc.) onto your "form." You then have to write code for things like what should happen when a button is clicked. I'm guessing you can find a bunch of tutorials for it by googling.
you mean i need to do some GUI programming? :confused:
-
No no I think we have a confusion between
interface: the public stuff in a class and
interface: buttons and menus and stuff in a gui
Similar Threads
-
By matfis in forum ASP.NET
Replies: 0
Last Post: 03-24-2005, 03:53 AM
-
By Todd B in forum Security
Replies: 0
Last Post: 12-30-2000, 06:37 AM
-
By Todd B in forum Security
Replies: 0
Last Post: 12-30-2000, 05:29 AM
-
By Eli Allen in forum Security
Replies: 0
Last Post: 12-28-2000, 05:15 PM
-
By Todd B - Agendum Software in forum vb.announcements
Replies: 0
Last Post: 12-20-2000, 12:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks