473,791 Members | 2,899 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
12 1260
"Jack Klein" <ja*******@spam cop.net> wrote in message
news:52******** *************** *********@4ax.c om...
On 15 Dec 2004 03:20:47 -0800, "pachanga" <qu*******@yaho o.com> wrote
in comp.lang.c++:
<<SNIPPED>> It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.


Based on your response to the original poster's statement, can your
elaborate a bit on the following PDF document located at
http://global.mitsubishielectric.com...l82/82r&d1.pdf on the
World Wide Web. Given that I am not well learned in the area of real-time
computing, processing, or programming, I am interested in learning more on
this subject in relation to programming in the C++ language.

Thank you and have a g'day.
Jul 23 '05 #11
C++ Programmer wrote:
It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.

Based on your response to the original poster's statement, can your
elaborate a bit on the following PDF document located at
http://global.mitsubishielectric.com...l82/82r&d1.pdf on the
World Wide Web. Given that I am not well learned in the area of real-time
computing, processing, or programming, I am interested in learning more on
this subject in relation to programming in the C++ language.

Thank you and have a g'day.


Real-time applications are broadly divided into two types, "hard" and
"soft".

Hard real-time requires that a function be performed within a specified
time deadline, absolutely all the time. This is not possible in
Windows, by design, because the user can run unknown multiple processes
that compete for the CPU time.

Soft real-time requires that a function be performed, on average and
usually, within a desired deadline. It is possible to do this in
Windows, and even more so with the help of specialized device drivers.
For example, playing an audio file is a real-time operation. It is
possible, but unlikely, that there will be pauses in the sound output if
the user does something like startup MS Flight Simulator.

--
Scott McPhillips [VC++ MVP]

Jul 23 '05 #12
"Scott McPhillips [MVP]" <org-dot-mvps-at-scottmcp> wrote in message
news:Ls******** ************@co mcast.com...
C++ Programmer wrote:
It is NOT possible to create real-time applications for Microsoft
Windows, period. Regardless of programming language.

Based on your response to the original poster's statement, can your
elaborate a bit on the following PDF document located at
http://global.mitsubishielectric.com...l82/82r&d1.pdf on the
World Wide Web. Given that I am not well learned in the area of real-time
computing, processing, or programming, I am interested in learning more
on this subject in relation to programming in the C++ language.

Thank you and have a g'day.


Real-time applications are broadly divided into two types, "hard" and
"soft".

Hard real-time requires that a function be performed within a specified
time deadline, absolutely all the time. This is not possible in Windows,
by design, because the user can run unknown multiple processes that
compete for the CPU time.

Soft real-time requires that a function be performed, on average and
usually, within a desired deadline. It is possible to do this in Windows,
and even more so with the help of specialized device drivers. For example,
playing an audio file is a real-time operation. It is possible, but
unlikely, that there will be pauses in the sound output if the user does
something like startup MS Flight Simulator.

--
Scott McPhillips [VC++ MVP]


Thank you for sharing your knowledge in this particular area given that I
was not aware of the differences in 'hard' vs 'soft' real-time concepts.
Hence, I understand the original statement posted much better at this point
in time. So, the best case scenario for Windows would be a pseudo real-time
system so-to-speak, agreed? In other words, it's not a recommended choice if
designing a mission-critical system, correct?

Thanks again and have a g'day.
Jul 23 '05 #13

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

Similar topics

1
2856
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
19174
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
2463
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
14858
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
4274
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
9515
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
10426
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
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
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
6776
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
5430
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...
1
4109
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
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2913
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.