473,804 Members | 3,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Choice of C++ for application development...

Hi,

I have a few questions to ask with the use of C++ per se:

1. For what type of applications is C++ actually used/preferred/
chosen?
2. ANSI C++ doesn't have any support for GUI libraries...usu ally we
use Qt/Windows API etc..Then when/where do we use C++ in it's "pure"
form (no linking to "any" 3rd party lib)
3. Consider a 3 tier application (MVC architecture):

Presentation
|
Business Logic
|
Data Access Layer

Most architectures today follow this (very generic) pattern...usual ly.
Where and how does C++ fit in? Could you please give me example
applications?

I hope I have been clear with what my doubt exactly is...I have been
using C++ for 5 years...but primarily from an academic
perspective...I 'd basically like to know it's application from a
professional/industrial/Application-specific point of view.

Thanks.

Nupul.

Apr 19 '07 #1
10 1607
NUPUL wrote:
I have a few questions to ask with the use of C++ per se:

1. For what type of applications is C++ actually used/preferred/
chosen?
All kinds. It is a general purpose language. Isn't that what your
favourite C++ book say about it?
2. ANSI C++ doesn't have any support for GUI libraries...usu ally we
use Qt/Windows API etc..Then when/where do we use C++ in it's "pure"
form (no linking to "any" 3rd party lib)
In utilities. Or libraries (to be used as 3rd party lib). Compilers
come to mind...
3. Consider a 3 tier application (MVC architecture):

Presentation
|
Business Logic
|
Data Access Layer

Most architectures today follow this (very generic) pattern...usual ly.
Where and how does C++ fit in? Could you please give me example
applications?
It "fits" on all levels. Through available libraries any of those
areas can be programmed in C++. Examples? Just pick your favourite
image processor.
I hope I have been clear with what my doubt exactly is...
"Doubt"? What "doubt"? You just asked to do your homework for you,
that's all. It's alright. Don't feel bad.
I have been
using C++ for 5 years...but primarily from an academic
perspective...
What in the world does that mean? "Used primarily from an academic
perspective"... You either used it or you didn't.
I'd basically like to know it's application from a
professional/industrial/Application-specific point of view.
Sure.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Apr 19 '07 #2
On 19 Apr, 05:15, NUPUL <nupul.kukr...@ gmail.comwrote:

<snip>
3. Consider a 3 tier application (MVC architecture):

Presentation
|
Business Logic
|
Data Access Layer

Most architectures today follow this (very generic) pattern...usual ly.
really? Do you have statistics that demonstrate this?

<snip>
--
Nick Keighley

Apr 19 '07 #3
On 19 Apr, 06:15, NUPUL <nupul.kukr...@ gmail.comwrote:
Hi,

I have a few questions to ask with the use of C++ per se:

1. For what type of applications is C++ actually used/preferred/
chosen?
For most applications I write, though I've looked some on C# recently
I do believe that I prefer C++/CLR if those kinds of stuff are needed.
2. ANSI C++ doesn't have any support for GUI libraries...usu ally we
use Qt/Windows API etc..Then when/where do we use C++ in it's "pure"
form (no linking to "any" 3rd party lib)
For things that you want to keep portable among other things, I'm
currently working on an application where the backend is pure C++
(except for one file for exporing functions when compiled as a DLL).
That way I will be quite easy to port the important parts to a unix-
like system if needed in the future.
3. Consider a 3 tier application (MVC architecture):

Presentation
|
Business Logic
|
Data Access Layer

Most architectures today follow this (very generic) pattern...usual ly.
Where and how does C++ fit in? Could you please give me example
applications?
Except from the fact that many of those applications are written in C+
+ there's not so much a question about fitting or not. Most languages
can be used for any of the layers and it's mostly a question about
choosing the right language for the job, and C++ often is.

--
Erik Wikström

Apr 19 '07 #4
On Apr 18, 9:33 pm, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
NUPUL wrote:
....
I hope I have been clear with what my doubt exactly is...

"Doubt"? What "doubt"? You just asked to do your homework for you,
that's all. It's alright. Don't feel bad.
Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."

Michael

Apr 19 '07 #5
* Michael:
On Apr 18, 9:33 pm, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
>NUPUL wrote:
...
>>I hope I have been clear with what my doubt exactly is...
"Doubt"? What "doubt"? You just asked to do your homework for you,
that's all. It's alright. Don't feel bad.

Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."
By correcting the language Victor helps the poster learn something new
and useful, and helps the poster not spreading his or her misconceptions
further.

If only more people could do as Victor did here.

If nobody had corrected me I'd still be saying "toy" when I meant
"chewing gum", because that's what I learned as a child. Later on, as a
teenager, I learned that in London they just don't understand that
"blitz" means a (camera) flash lamp, or that an "eliminator " is a power
adapter. Stupid grunts, they should use /my/ words!

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Apr 20 '07 #6
On 20 Apr, 03:36, "Alf P. Steinbach" <a...@start.now rote:
* Michael:
On Apr 18, 9:33 pm, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
NUPUL wrote:
...
>I hope I have been clear with what my doubt exactly is...
"Doubt"? What "doubt"? You just asked to do your homework for you,
that's all. It's alright. Don't feel bad.
Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."

By correcting the language Victor helps the poster learn something new
and useful, and helps the poster not spreading his or her misconceptions
further.

If only more people could do as Victor did here.
It would all be so true if that is how you look at it. Personally I
can't see what Victor did as correcting his usage of the language, to
me it looks more like he's ridiculing NUPUL. When writing to someone
who hasn't got a perfect grip of the English language (which most of
us don't) you need to be extra careful with how you express yourself,
he could have just said "When you say doubt did you mean question?"

--
Erik Wikström

Apr 20 '07 #7
Michael wrote:
Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."

Sorry guys, now I'd have an OT question... why should the previous
sentence be wrong? I'm not a native speaker, but until now I thought
that "I have a doubt about something" would be definitely meaningful,
and not with doubt as a synonym of "question", but of "uncertaint y".

Probably in english language there are better ways to express such a
concept, but can't I have a doubt about virtual destructors?

So, to me the guy was just uncertain about the use of c++, I can't see
what was wrong with this...

Thank you

Zeppe
Apr 20 '07 #8
On Fri, 20 Apr 2007 03:36:33 +0200, Alf P. Steinbach wrote:
* Michael:
>On Apr 18, 9:33 pm, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
>>NUPUL wrote:
...
>>>I hope I have been clear with what my doubt exactly is...
"Doubt"? What "doubt"? You just asked to do your homework for you,
that's all. It's alright. Don't feel bad.

Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."

By correcting the language Victor helps the poster learn something new
and useful, and helps the poster not spreading his or her misconceptions
further.
I disagree. Michael was pointing out that in some English variants (and
isn't every local usage of a language a "variant", including US English,
UK English, Jamaican English, ...?) a certain word has different
connotations. So Victor was not "correcting " the language - he was
(understandably ) misunderstandin g a perfectly valid local usage (of which
I too was unaware, as it happens).
If only more people could do as Victor did here.
Not so sure... perhaps, rather, it is Victor (and myself) who have learnt
something "new and useful"; i.e. the existence of an interesting local
usage.
If nobody had corrected me I'd still be saying "toy" when I meant
"chewing gum", because that's what I learned as a child.
Ah, but that's (probably) not a recognised usage in *any* English variant!
Later on, as a
teenager, I learned that in London they just don't understand that
"blitz" means a (camera) flash lamp, or that an "eliminator " is a power
adapter. Stupid grunts, they should use /my/ words!
:) In England it is not uncommon for a word to mean something different
in the next village...

Another classic case is Latin American vs. Castillian Spanish; eg. the
perfectly normal sentence "Voy a coger el autobus" probably sounds
humorously "off" to a South American Spanish speaker...

--
Lionel B
Apr 20 '07 #9
On Fri, 20 Apr 2007 09:33:34 +0100, zeppe wrote:
Michael wrote:
>Victor, surely you've been reading this newsgroup to know that in
certain parts of the English speaking world (e.g., India), the word
"doubt" is synonymous with "question." Every other day or so, someone
posts something like "Doubt about template instantiation" or "Doubt
about virtual destructor."


Sorry guys, now I'd have an OT question... why should the previous
sentence be wrong? I'm not a native speaker, but until now I thought
that "I have a doubt about something" would be definitely meaningful,
and not with doubt as a synonym of "question", but of "uncertaint y".

Probably in english language there are better ways to express such a
concept, but can't I have a doubt about virtual destructors?

So, to me the guy was just uncertain about the use of c++, I can't see
what was wrong with this...
At least in midwestern American English usage, the word "doubt" connotes
dubiousness. One has an uncertainty if they don't understand something
and are looking to; one has a doubt if they aren't persuaded that
something is true. The concepts often can and do overlap, but in this
context "doubt" is not the appropriate word IMHO. "Doubt about template
instantiation" implies that the writer doesn't believe something about
template instantiation, and the phrase does not contain sufficient
information to determine what exactly they are doubting. To me, with the
English usage to which I am accustomed, that subject line is saying half
of the user not being persuaded of either the existence or utility of
template instantiation.

But bear in mind, this is all IMHO and in my experience. English as
spoken in different parts of the world is, well, different; it may be
that, in India, "doubt" is fully synonymous with question or uncertainty.
Sure makes things confusing sometimes, though.

- Michael
Apr 20 '07 #10

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

Similar topics

198
7748
by: Sridhar R | last post by:
>From technical point of view, I could not understand the the reasoning behind using Java in major companies. Sure that Python, is used in some, but still Java is considered as a sure-job language. After being a python programmer for long time, I consider it painful to learn/use Java now (well, like many I will be forced to do that in my job). What makes such companies to choose Java over dynamic, productive languages like Python? ...
10
2656
by: Beach Potato | last post by:
Dear Y'all: I'm about to start porting a big old project written in anscient version of Delphi to something more stable, robust, supportable and maybe even portable. Since I haven't seriously touched C for large implementations, I'm seeking advice on what to use for development. My ultimate goal is to spend as less time on it as possible. I'll be writing it in Windows 32-bit environment, probably Win2000 or Win98. Planning to use a...
0
1145
by: Greg Lilley | last post by:
I am trying to learn Visual C++ .NET and am trying to go through some of the walkthroughs. Many of these walkthroughs say to open a new "Managed C++ Application". Some of these walkthroughs have screenshots showing that this is one of the templates available for selection. However, when I select \File\New\Project\Visual C++ projects, I do not see this icon as one of the choices available in the template window. With my version of the...
1
3133
by: Carl | last post by:
Help!! What are the best concepts / startegies to deploy an ASP.NET web application? My idea is work first in Production PC then after completing the project deploy it on the Web Server. But what about the database - do i need to reconnect the database and the components-register again the components in the Web Server. And question like how can i customize the installation and how can i update the existing files on a deployed ASP.NET...
5
2754
by: Ryan Liu | last post by:
I have an application need export ane import data of projects. There are about 10 database tables releated to one project. 3 of them each could have up to 100K lines data. I can export all data out into a xml file and then zip it. When I do import, I parse this xml file and then insert into database myself. Or I can export all tables out in csv format and then use mysql's client command "load local file" (which is claimed very fast...
11
1405
by: Ray | last post by:
Hello, I've been reading MSDN to find out the answer for the question above, but I think I should ask in this newsgroup (since nearly everything I read in MSDN Seems to recommend me to move to .NET). Here's the scenario: We're creating a desktop application (that is, no client-server, no three-tier, no nothing, just a simple plain old desktop application).
14
3301
by: deko | last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients can't afford to buy Microsoft products. So I need to develop software for Linux users and web applications. In the open source world, what is the programmer's language of choice? Judging by the number of members in each of these http://www.google.com/Top/Computers/Programming/Languages/Open_Source/ user groups, it looks like the top 3 open source languages...
6
2269
by: Tony Johansson | last post by:
Hello! We have a C#.ASP.NET application that runs on a IIS 6. The application contains actually several asp pages but there is no GUI. The application receive an xml file that is processed. There is also an MFC dll that is called from this asp application to make a syntax check on quite many commands. You don't have to know what a command is. The problem that we get is the following when the asp pages calls the MFC
0
9708
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
9587
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
10588
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
10340
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
9161
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...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4302
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
3827
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2998
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.