473,763 Members | 1,395 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating interface with c++

FC
Hi all:
I am a Computer Engineering student, as part of my curriculum I have
taken quite a few programming classes. Most of them were given in C++. I
am almost done with my studies and I have yet to see a course where they
teach how to create an application that uses a GUI. By this I mean a
window that has menus like the usual file, edit, view, etc. I know that
can be done using C++ in conjunction with other technologies such as
ASP, ADO, and .NET. I also know that there are C++ programs that
interact with databases (Oracle, MSAccess, MySQL, etc). My question to
you guys/gals is: Where do I find the info to learn more about this
stuff? I would like to purchase a book. Assuming I am a fairly
proficient C++ programmer, what book would you recommend in order for me
to learn how to create an application that uses these technologies?
Please advise.

Best regards,

FC

PS: I hope I am not off topic.
Jul 23 '05 #1
7 2486
FC wrote:
I am a Computer Engineering student, as part of my curriculum I have
taken quite a few programming classes. Most of them were given in
C++. I am almost done with my studies and I have yet to see a course
where they teach how to create an application that uses a GUI. By
this I mean a window that has menus like the usual file, edit, view,
etc. I know that can be done using C++ in conjunction with other
technologies such as ASP, ADO, and .NET. I also know that there are
C++ programs that interact with databases (Oracle, MSAccess, MySQL,
etc). My question to you guys/gals is: Where do I find the info to
learn more about this stuff? I would like to purchase a book.
Assuming I am a fairly proficient C++ programmer, what book would you
recommend in order for me to learn how to create an application that
uses these technologies? Please advise.


There are many books that deal with Windows programming (I assume you
mean Windows since you mentioned ADO, MSAcces, and .NET). You are
hence strongly urged to ask about books that help with that in a forum
dedicated to Windows programming. See comp.os.ms-windows.program mer.*
or microsoft.publi c.dotnet.*.

V
Jul 23 '05 #2
"FC" writes:
I am a Computer Engineering student, as part of my curriculum I have taken
quite a few programming classes. Most of them were given in C++. I am
almost done with my studies and I have yet to see a course where they
teach how to create an application that uses a GUI. By this I mean a
window that has menus like the usual file, edit, view, etc. I know that
can be done using C++ in conjunction with other technologies such as ASP,
ADO, and .NET. I also know that there are C++ programs that interact with
databases (Oracle, MSAccess, MySQL, etc). My question to you guys/gals is:
Where do I find the info to learn more about this stuff? I would like to
purchase a book. Assuming I am a fairly proficient C++ programmer, what
book would you recommend in order for me to learn how to create an
application that uses these technologies? Please advise.


_Programming Windows_ by Charles Petzold is pretty munch regarded as the
bible for the Windows GUI.
Jul 23 '05 #3
FC wrote:
I am a Computer Engineering student, as part of my curriculum I have
taken quite a few programming classes. Most of them were given in C++. I
am almost done with my studies and I have yet to see a course where they
teach how to create an application that uses a GUI.
That's because C++ itself is best understood as a portable solution for hard
logical problems. All GUIs are platform-specific by nature, and learning to
use one compares to learning raw C++ essentially as driving a car compares
to rebuilding its engine.
By this I mean a
window that has menus like the usual file, edit, view, etc. I know that
can be done using C++ in conjunction with other technologies such as
ASP, ADO, and .NET.
Oooookay. Firstly, all those are MS-specific. That means a better sentence
with "other technologies such as" would go "Win32 SDK, Qt, Gtk+..." etc. The
sentence should cover the full breadth of the industry.

ASP is a ticklish HTML generating system, ADO is a data layer, and .NET is a
platform - a complete set of modules that provide complete services for
programs to use.
I also know that there are C++ programs that
interact with databases (Oracle, MSAccess, MySQL, etc). My question to
you guys/gals is: Where do I find the info to learn more about this
stuff?
www.google.com
I would like to purchase a book. Assuming I am a fairly
proficient C++ programmer, what book would you recommend in order for me
to learn how to create an application that uses these technologies?
The crisis here is between the generic and specific. If you ask for modern
Win32 textbooks, walk into the nearest large bookstore and look for books on
VC++. They will cover various ways to program "windows", including MFC and
ATL. The best way is WTL, but that might not have a book yet.
PS: I hope I am not off topic.


The questions "how to use C++ to...?" and "what's the best [generally
portable] library to...?" are on topic. The point of topicality is to entice
C++ generalists to work this newsgroup and give you the best answer.
Specific questions about the answers to these questions are best served in
their own respective forums, which might not be so impartial.

Assuming you don't want to run Linux, GNU, Gnome, KDE, Qt, or Tk, use
http://groups.google.com to find a microsoft-specific newsgroup that covers
these questions.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces

Jul 23 '05 #4
FC wrote:
Hi all:
I am a Computer Engineering student, as part of my curriculum I have
taken quite a few programming classes. Most of them were given in C++. I
am almost done with my studies and I have yet to see a course where they
teach how to create an application that uses a GUI. By this I mean a
window that has menus like the usual file, edit, view, etc. I know that
can be done using C++ in conjunction with other technologies such as
ASP, ADO, and .NET. I also know that there are C++ programs that
interact with databases (Oracle, MSAccess, MySQL, etc). My question to
you guys/gals is: Where do I find the info to learn more about this
stuff? I would like to purchase a book. Assuming I am a fairly
proficient C++ programmer, what book would you recommend in order for me
to learn how to create an application that uses these technologies?
Please advise.

Best regards,

FC

PS: I hope I am not off topic.

For VC++ 2003, a nice beginner to intermediate level book that you can read, and covers
all .NET facilities, including multithreading, is "Visual C++ .NET How To Program" by Deitel.
http://vig.prenhall.com/catalog/acad...373774,00.html

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #5
Ioannis Vranos wrote:
For VC++ 2003, a nice beginner to intermediate level book that you can
read, and covers all .NET facilities, including multithreading, is
"Visual C++ .NET How To Program" by Deitel.
http://vig.prenhall.com/catalog/acad...373774,00.html

Also I want to suggest you, not losing time learning the legacy Windows stuff like Win32,
MFC, etc. .NET is becoming the main platform now, and with the release of Longhorn in 2006
it becomes the main Windows API (WinFX). All recent releases of Windows APIs are all using
..NET (e.g. DirectX 9.0 is managed and not native, and requires .NET).
Recent releases of ADO etc are parts of .NET, now this one is called "ADO .NET" for example.


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #6
How is Win32 legacy code? .NET is still built on top of the Win32 API and
calls it behind the scenes. I stopped programming with .net as I still had
to make many Win32 calls as .net didn't have the functionality that I
needed.
"Ioannis Vranos" <iv*@remove.thi s.grad.com> wrote in message
news:1112524984 .17754@athnrd02 ...
Ioannis Vranos wrote:
For VC++ 2003, a nice beginner to intermediate level book that you can
read, and covers all .NET facilities, including multithreading, is
"Visual C++ .NET How To Program" by Deitel.
http://vig.prenhall.com/catalog/acad...373774,00.html

Also I want to suggest you, not losing time learning the legacy Windows
stuff like Win32, MFC, etc. .NET is becoming the main platform now, and
with the release of Longhorn in 2006 it becomes the main Windows API
(WinFX). All recent releases of Windows APIs are all using .NET (e.g.
DirectX 9.0 is managed and not native, and requires .NET).
Recent releases of ADO etc are parts of .NET, now this one is called "ADO
.NET" for example.


--
Ioannis Vranos

http://www23.brinkster.com/noicys

Jul 23 '05 #7
FC wrote:
Hi all:
I am a Computer Engineering student, as part of my curriculum I have
taken quite a few programming classes. Most of them were given in C++. I
am almost done with my studies and I have yet to see a course where they
teach how to create an application that uses a GUI. By this I mean a
window that has menus like the usual file, edit, view, etc. I know that
can be done using C++ in conjunction with other technologies such as
ASP, ADO, and .NET. I also know that there are C++ programs that
interact with databases (Oracle, MSAccess, MySQL, etc). My question to
you guys/gals is: Where do I find the info to learn more about this
stuff? I would like to purchase a book. Assuming I am a fairly
proficient C++ programmer, what book would you recommend in order for me
to learn how to create an application that uses these technologies?
Please advise.

Best regards,

FC

PS: I hope I am not off topic.


Hi
I think that the most simple and best way, on win32, is WTL, but there
aren't books. You can look for a guide, or tutorial, here:
http://www.codeproject.com/wtl/
http://www.endurasoft.com/vcd/mfcwtl.htm
http://codeworks.gnomedia.com/wtl.php

For download WTL:
http://sourceforge.net/projects/wtl/
http://www.microsoft.com/downloads/d...displaylang=en

But when we speak about WTL, we do not have to forget ATL (ATL is very
complex because was created for developing COM applications, but you are
interested only the windowing part):
http://msdn.microsoft.com/library/de.../atlwindow.asp

Another way is gtkmm for linux and win32:
www.gtkmm.org

Best regards

Daniele
Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
9905
by: Matthew Clubb | last post by:
Hi, I need help developing an expanding form I've decided that a use of PHP, Mysql and Javascript is the best platform for creating a selection of database interfaces which I'm trying to build for my company. I had been using Microsoft Access, but obviously this requires licenses for every machine. BUT..... I'm look for an easy way of recreating subforms. I'm trying to create a Purchase Order system and in Access I did this by using a...
3
23434
by: Hal Vaughan | last post by:
I'm creating a sequence of JPanels that will each, in turn, be added to (then removed from) a window (kind of like a wizard). I want these panels to not only extend the JPanel class, but to implement an interface. I have the interface defined in a separate class, like this: public interface IPanel { boolean onNext(); String nextPanel(); boolean hasCancel();
0
2653
by: Brett Selleck | last post by:
We have an issue where the JAXB generated classes are creating an interface which references itself. The Schema is valid, and I have not seen this ran into before. The code is below. What is interesting, is if I change the name of ErrorType to Error the issue goes away. Has anyone else ran into this issue? Do you have a solution? The pertanant part of the schema: <snip>
2
2158
by: Pawan | last post by:
Hi Guys, I have this current assignment where I have to develop online forms for local municipal authorities. I have to use adobe acrobat to create online forms from PDFs (which I have never done before and have no idea how to do it). Now these online forms will be shared by 1200 users. VB and ASP will be used as glueware for the writing/coding. For eg, we will be creating navigation pages in ASP & linking into adobe. Any resource on this...
15
6750
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use javascript or vbscript it works. I will appreciate any help. I do the following (C#):
1
1778
by: Hasani \(remove nospam\) | last post by:
The way the system works is, you create a user control (ascx) that will be a template and must implement the interface IPageTemplate. You then create one or more user controls (ascx) that implement the IPageContent interface. A page (aspx) must then be created that loads (using Page.LoadControl) the page template, and the page content. The page content adds itself to the page template. The page template is then added to the aspx's control...
4
2361
by: SH | last post by:
I wish to create a program (really a Windows Service) that sits and waits for a client PC to communicate with it, but I can't come up with a good method of doing so. I want to have a service running on a server, waiting for clients to send it commands. The service would then do something based on the command and send the information back to the client. This is exactly what any database does. What is the best method for doing this? The...
12
3174
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without restarting the application. What I did was to create an AppDomain that loaded the plugins and everything was great, until I tried to pass something else that strings between the domains...
31
3202
by: JoeC | last post by:
I have read books and have ideas on how to create objects. I often create my own projects and programs. They end up getting pretty complex and long. I often use objects in my programs they are some of the most powerful programming tools I have found. Often times as my program grows so do my objects. Often times I look back and see that my objects could be broken down int several smaller more re-usable module pieces of code. Is it a...
0
1276
by: hypeartist | last post by:
I need to create interface "on-the-fly" so it "reflects" some class (mainly it's properties). Here's how I do this: public class Transformer { private const TypeAttributes INTERFACE_TYPE_ATTRIBUTES = TypeAttributes.Public | TypeAttributes.Interface | TypeAttributes.Abstract | TypeAttributes.AutoClass |
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10145
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.