473,781 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C++ Question about its possibilites to XP..

I was thinking of learning C++ to really understand computer
programming. A lot of my friends tell me that C++ is faster and good
quality. My question is can C++ create Windows Applications? For
Windows XP? or is C++ limited to open source applications, command
prompt applications? Is it possible to create a real-time application
for Microsoft Windows using C++? I can't seem to find the answer using
keywords in my search engine. I am a bit confused.

Jul 22 '05 #1
12 1256
"pachanga" <qu*******@yaho o.com> wrote in message
news:11******** ************@f1 4g2000cwb.googl egroups.com...
I was thinking of learning C++ to really understand computer
programming. A lot of my friends tell me that C++ is faster and good
quality. My question is can C++ create Windows Applications? For
Windows XP? or is C++ limited to open source applications, command
prompt applications? Is it possible to create a real-time application
for Microsoft Windows using C++? I can't seem to find the answer using
keywords in my search engine. I am a bit confused.


If this helps answer your question, most applications (e.g. MS Office)
written by Microsoft are primarily written in C++. Microsoft fully
supports C++ for programming any interfaces provided by its operating
system.

However, the standard C++ language and libraries themselves do not
include the ability to program graphical user interfaces. Instead,
you need to use one of the many C++-compatible libraries that
are available (some are vendor-specific, some cross-platform).

For real-time applications, C++ is definitely a good choice.
For user interface programming itself, however, there are
languages that are easier to use: C# for MS.NET programming ;
java, which includes its own libraries for GUI programming ;
Python with TkInter or wxPython ; etc.
hth,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <> http://www.brainbench.com

Jul 22 '05 #2
would it be possible to use C++ has my core coding for a real-time
application and use C# for the user interface? user-interface (would be
the way it looks, buttons, windows form) but use C++ has my core coding
behind the curtain?

Jul 22 '05 #3
pachanga wrote:
I was thinking of learning C++ to really understand computer
programming. A lot of my friends tell me that C++ is faster and good
quality. Faster than what? Assembly, LISP, Basic, FORTRAN, COBOL, etc.?
My question is can C++ create Windows Applications? Yes, one can write a program in C++ to create Windows applications on
different platforms, provided that those platforms support windowing.
For Windows XP? Probably, but ask in a Microsoft newsgroup. See the welcome.txt
link below.
or is C++ limited to open source applications, command prompt
applications? The usage of C++ is only limited to the platforms that have a
compiler for it. C++ can be used for vending machine applications,
VCRs, Dishwashers, and tape drives. Windows are not the only
platform in the world.
Is it possible to create a real-time application for Microsoft
Windows using C++? Depends on the Windows operating system and the other applications
that it is executing. A real-time program can be written in any
language. The operating system doesn't care what language the
program was written in. The operating system is responsible
for executing programs in a timely fashion. The program is
responsible for accomplishing tasks within the time limits.
I can't seem to find the answer using
keywords in my search engine. I am a bit confused.

To lessen your confusion, look up the following phrases
or words at http://foldoc.doc.ic.ac.uk/foldoc/index.html
real time
operating system
application
open source
platform
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.l earn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library

Jul 22 '05 #4
On Wed, 15 Dec 2004 11:53:45 UTC, "pachanga" <qu*******@yaho o.com> wrote:
would it be possible to use C++ has my core coding for a real-time
application and use C# for the user interface? user-interface (would be
the way it looks, buttons, windows form) but use C++ has my core coding
behind the curtain?


That is an acceptable partitioning of the problem. Many languages
can be linked together and run as a single unit. While we all have our
favorite languages, it is good to remember that there are problems that
may better fit other tools and we should not be afraid to explore using
them. Of course, there is a certain ramp up time to becoming competant
in a new tool so just becuase it seems to be the right thing to use,
might not mean that is acceptable for the desired project.

Have fun with your project,

David
-- C++, C, Forth, Assembler for most of my current projects
-- Stopped counting after using 40+ languages
Jul 22 '05 #5
"pachanga" <qu*******@yaho o.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
would it be possible to use C++ has my core coding for a real-time
application and use C# for the user interface? user-interface (would be
the way it looks, buttons, windows form) but use C++ has my core coding
behind the curtain?


Yes. If you use the .NET platform (which C# requires), the same
development environment allows you to easily compile other parts
of your project in C++.
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Jul 22 '05 #6
On 15 Dec 2004 03:20:47 -0800, "pachanga" <qu*******@yaho o.com> wrote
in comp.lang.c++:
I was thinking of learning C++ to really understand computer
programming. A lot of my friends tell me that C++ is faster and good
quality. My question is can C++ create Windows Applications? For
Windows XP? or is C++ limited to open source applications, command
prompt applications? Is it possible to create a real-time application
for Microsoft Windows using C++? I can't seem to find the answer using
keywords in my search engine. I am a bit confused.


It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.l earn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
Jul 22 '05 #7
It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.


I second that.
And depending on what you call realtime you can also state that it's
impossible to write realtime applications for generic off-the-shelf PCs
regardless of the OS and/or compiler/language used :-) (google: SMI
system management interrupt realtime)

Sorry for the OT part...

Now to the C++ part. Yes, C++ can be used to write any kind of
windows-software (including kernelmode-drivers) and of course "real"
applications with nifty windows and stuff. Games, Browsers, Virus',
whatever you like. And your C++ app can be just about as much "realtime"
as it can get with windows - soley depending on your skill and training.

'monster
Jul 22 '05 #8


Jack Klein wrote:
On 15 Dec 2004 03:20:47 -0800, "pachanga" <qu*******@yaho o.com> wrote
in comp.lang.c++:
I was thinking of learning C++ to really understand computer
programming. A lot of my friends tell me that C++ is faster and good
quality. My question is can C++ create Windows Applications? For
Windows XP? or is C++ limited to open source applications, command
prompt applications? Is it possible to create a real-time application
for Microsoft Windows using C++? I can't seem to find the answer using
keywords in my search engine. I am a bit confused.
It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.


not at the application level. I've heard of people writing system code
(probably at the driver level) to take over the system and give precedence
to their own code at the expense of everything else in the system.

Besides, real time is in the eye of the beholder. The only expectation for
defining something as real time is whether the time it takes to complete a
program task is less than the time it is required to be completed in. So I
could design a program that I can give 10000 years to complete due to the
design constraints, and even if I think it will only take x months, if it
finishes any time before the 10000 year mark it is considered to have
completed in real time. 'real time' does NOT equate directly to 'fast
response time'.

David

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.l earn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html

Jul 22 '05 #9
On Thu, 16 Dec 2004 04:27:10 +0100, Swampmonster wrote:
I second that.
And depending on what you call realtime you can also state that it's
impossible to write realtime applications for generic off-the-shelf PCs
regardless of the OS and/or compiler/language used :-) (google: SMI
system management interrupt realtime)


Hmm. What about RTLinux or RTAI? What makes those non-realtime, in your
mind? Seems some of the world's best engineers rely on RTOS's for IA32
architectures when developing realtime control applications.. if it's good
enough for them, i would say that yes, you CAN do realtime on COTS
hardware.

However, yes, without modifications, the Windows family of OS's is generic
and non hard-realtime.

Jul 22 '05 #10

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

Similar topics

1
2850
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew story is so funny that eScrew will have to take break from time to time because eScrew needs some rest from laughing. Oh boy, here it comes... eScrew funny laugh laughing screaming crying must stop can not take any more this is killing eScrew...
220
19164
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
8
2461
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew story is so funny that eScrew will have to take break from time to time because eScrew needs some rest from laughing. Oh boy, here it comes... eScrew funny laugh laughing screaming crying must stop can not take any more this is killing eScrew...
125
14850
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
5
3002
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew story is so funny that eScrew will have to take break from time to time because eScrew needs some rest from laughing. Oh boy, here it comes... eScrew funny laugh laughing
0
2457
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew story is so funny that eScrew will have to take break from time to time because eScrew needs some rest from laughing. Oh boy, here it comes... eScrew funny laugh laughing screaming crying must stop can not take any more this is killing eScrew...
7
3156
by: Edward Yang | last post by:
A few days ago I started a thread "I think C# is forcing us to write more (redundant) code" and got many replies (more than what I had expected). But after reading all the replies I think my question about local variable initialization is still not solved. And some of the replies forked into talking about out parameters. And the thread is becoming way too deep. So I open a new thread here. My question in the previous thead has turned...
2
4273
by: blue_i | last post by:
Please tell me that how can i add the Triangle code in WM_PAINT i tried but failed. please this problem #include <windows.h> int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
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
9939
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...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5375
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
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
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.