Go Back   Velocity Reviews > Newsgroups > C++
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

C++ - creating interface with c++

 
Thread Tools Search this Thread
Old 04-03-2005, 04:20 AM   #1
Default creating interface with c++


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.


FC
  Reply With Quote
Old 04-03-2005, 04:25 AM   #2
Victor Bazarov
 
Posts: n/a
Default Re: creating interface with c++

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.programmer.*
or microsoft.public.dotnet.*.

V


  Reply With Quote
Old 04-03-2005, 04:59 AM   #3
osmium
 
Posts: n/a
Default Re: creating interface with c++

"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.


  Reply With Quote
Old 04-03-2005, 05:08 AM   #4
Phlip
 
Posts: n/a
Default Re: creating interface with c++

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



  Reply With Quote
Old 04-03-2005, 11:35 AM   #5
Ioannis Vranos
 
Posts: n/a
Default Re: creating interface with c++

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
  Reply With Quote
Old 04-03-2005, 11:43 AM   #6
Ioannis Vranos
 
Posts: n/a
Default Re: creating interface with c++

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
  Reply With Quote
Old 04-03-2005, 05:03 PM   #7
Brooke
 
Posts: n/a
Default Re: creating interface with c++

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" <> 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



  Reply With Quote
Old 04-05-2005, 01:28 AM   #8
GattoDiGrondaia
 
Posts: n/a
Default Re: creating interface with c++

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
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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