473,480 Members | 2,230 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

New to C++ need help

I am new to C++. I heard old stories that C++ is not standardized and
microsoft, borland, watcom, and ...etc, have their own flavor of C++.
Is this still true? If it is true, which kind of C++ is widely used and
widely accepted by the C++ community? What are the best opensource and
proprietary IDEs to do C++ programming? What are the best books and/or
tutorials to learn C++ programming? Another old story I heard was STLs
were very buggy and very problematic especially with memory leaks. Is
this true?

Jan 14 '06 #1
8 1612
TB
Richie sade:
I am new to C++. I heard old stories that C++ is not standardized and
microsoft, borland, watcom, and ...etc, have their own flavor of C++.
Is this still true? If it is true, which kind of C++ is widely used and
widely accepted by the C++ community? What are the best opensource and
proprietary IDEs to do C++ programming? What are the best books and/or
tutorials to learn C++ programming? Another old story I heard was STLs
were very buggy and very problematic especially with memory leaks. Is
this true?


Information about the C++ Standard:
http://en.wikipedia.org/wiki/ISO/IEC_14882
http://en.wikipedia.org/wiki/C%2B%2B

Information about the C++ Standard Library:
http://en.wikipedia.org/wiki/C_Plus_...andard_library

TB
Jan 14 '06 #2
Richie wrote:
I am new to C++. I heard old stories that C++ is not standardized and
microsoft, borland, watcom, and ...etc, have their own flavor of C++.
Is this still true?
No. There is a C++ standard. You can get an electronic copy of it for about
$18 from the ANSI we store.
If it is true, which kind of C++ is widely used and
widely accepted by the C++ community?
Standard C++ is widely accepted, and it is the only dialect topical in this
news group.
What are the best opensource and proprietary IDEs to do C++ programming?
I just use g++ / my favorite editor / gdb / ddd.

What are the best books and/or tutorials to learn C++ programming?
I don't know. But the FAQ for this news group would be a good point to
start.

Another old story I heard was STLs were very buggy and very problematic

especially with memory leaks. Is this true?

The first reference implementation that I am aware of was done by HP and
then was further maintained by SGI. I am not aware of any leaks in there.
However, it uses memory pooling allocators that can fool some memory
detection tools into (falsely) thinking that there is a leak. More modern
implementations may use similar tricks.

Generally, the standard library implementations shipping today are *very*
reliable as they are heavily used and tested.
Best

Kai-Uwe Bux
Jan 14 '06 #3
"Richie" <co**********@gmail.com> wrote in message
news:11********************@g44g2000cwa.googlegrou ps.com...
I am new to C++. I heard old stories that C++ is not standardized
Those stories would only be true if they were told prior
to 1998.
and
microsoft, borland, watcom, and ...etc, have their own flavor of C++.
This is still true. But their conformance is much better
with recent versions.
Is this still true? If it is true, which kind of C++ is widely used and
widely accepted by the C++ community?
ISO standard C++ as defined by ISO/IEC 14882
What are the best opensource and
proprietary IDEs to do C++ programming?
The concept 'best' requires context to be meaningful.
What are the best books and/or
tutorials to learn C++ programming?
See the book reviews at www.accu.org
Again, 'best' depends upon many factors (such as
your existing skill/knowledge).
Another old story I heard was STLs
were very buggy and very problematic especially with memory leaks. Is
this true?


Some software is 'very buggy', some not. This is true
of 'STL' or any other type of software.

-Mike
Jan 14 '06 #4
On 14 Jan 2006 13:24:20 -0800, "Richie" <co**********@gmail.com>
wrote:
I am new to C++. I heard old stories that C++ is not standardized It is now, since 1998. THose stories must have been very old.
and microsoft, borland, watcom, and ...etc, have their own flavor of C++.
Is this still true? No, their current compilers conform to the standard.
What are the best opensource and proprietary IDEs to do C++ programming? A matter of opinion. For Windows there is Dev-C++ or the free (but
not open source) MS Visual C++ Express 2005.
What are the best books and/or tutorials to learn C++ programming? Have a look at www.accu.org for lots of book reviews. If you are an
experienced programmer in another language the usual suggestion is
Accelerated C++ by Koenig and Moos.
Another old story I heard was STLs were very buggy and very problematic
especially with memory leaks. Is this true?

No.

rossum

--

The ultimate truth is that there is no ultimate truth
Jan 14 '06 #5
Thank you for the information. You have a very help. Those stories
occurred in 1995.

Jan 15 '06 #6
Thank you for the information. You have a very help. Those stories
occurred in 1995.

Jan 15 '06 #7

"Mike Wahler" <mk******@mkwahler.net> wrote in message
news:oC*****************@newsread1.news.pas.earthl ink.net...
"Richie" <co**********@gmail.com> wrote in message
news:11********************@g44g2000cwa.googlegrou ps.com...
I am new to C++. I heard old stories that C++ is not standardized


Those stories would only be true if they were told prior
to 1998.
and
microsoft, borland, watcom, and ...etc, have their own flavor of C++.


This is still true. But their conformance is much better
with recent versions.
Is this still true? If it is true, which kind of C++ is widely used and
widely accepted by the C++ community?


ISO standard C++ as defined by ISO/IEC 14882
What are the best opensource and
proprietary IDEs to do C++ programming?


The concept 'best' requires context to be meaningful.
What are the best books and/or
tutorials to learn C++ programming?


See the book reviews at www.accu.org
Again, 'best' depends upon many factors (such as
your existing skill/knowledge).
Another old story I heard was STLs
were very buggy and very problematic especially with memory leaks. Is
this true?


Some software is 'very buggy', some not. This is true
of 'STL' or any other type of software.


I might add here that this stuff regarding memory leaks with the standard
lib might actually not be a bug but a sometimes wanted feature. In principle
the implementation is free to apply memory pooling and furthermore, not
destroy memory which is known to be around until the program gracefully
exits and thus, the memory is/or should be reclaimed by the OS. So this
"leak" might actually be wanted because of performance requirements. Whether
this is a bug or not is arguable but it sometimes pays off and can normally
be turned off.

Cheers
Chris


Jan 15 '06 #8
thank you all for your help

Jan 21 '06 #9

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

Similar topics

6
6302
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
5
2166
by: John Flynn | last post by:
hi all i'm going to be quick i have an assignment due which i have no idea how to do. i work full time so i dont have the time to learn it and its due date has crept up on me .. As follows:...
0
1822
by: xunling | last post by:
i have a question about answering ..... this topic is "need help" what do i have to write at te topic line, !after i have klicked the "answer message" button ive tried many possibilities,...
9
2910
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
7
3283
by: Timothy Shih | last post by:
Hi, I am trying to figure out how to use unmanaged code using P/Invoke. I wrote a simple function which takes in 2 buffers (one a byte buffer, one a char buffer) and copies the contents of the byte...
15
4560
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
16
2500
by: pamelafluente | last post by:
I am still working with no success on that client/server problem. I need your help. I will submit simplified versions of my problem so we can see clearly what is going on. My model: A client...
8
2709
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only...
0
3916
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
20
4217
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
0
7049
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,...
0
7052
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,...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6981
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...
0
5348
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,...
1
4790
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...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
188
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...

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.