473,378 Members | 1,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

i am a vc++ beginner ,which books is suitable to me?

i haven't learnt c++ before ,if i want to learn vc++,do i need to buy a c++
book to learn before i learn vc++?

or some vc++ books are suitable to someone who hasn't learnt c++ before?

any suggestions?
thanks!
Jul 22 '05 #1
6 1667
Hello Nick,

With my experience in C++, I must say that when one learns C++ what
she/he
should concentrate at is learning the best practices of C++ since its
easy to get mis-directed and inculcate bad habits for a beginner while
learning this language. Your best bet would be to get a good book, if
you can. Two of the many good books that I know are:
1) C++ How to Program (4th Edition)by Harvey M. Deitel, Paul J. Deitel
Prentice Hall; 4 edition (August 12, 2002) ISBN: 0130384747
2) C++ Primer (4th Edition)by Stanley B. Lippman, Josée Lajoie,
Barbara E. Moo
Addison-Wesley Professional; 4 edition (February 25, 2005)
ISBN: 0201721481

I would start with the first one. Well, thats just my opinion.

Bill

nick wrote:
i haven't learnt c++ before ,if i want to learn vc++,do i need to buy a c++ book to learn before i learn vc++?

or some vc++ books are suitable to someone who hasn't learnt c++ before?
any suggestions?


thanks!


Jul 22 '05 #2
nick wrote:
i haven't learnt c++ before ,if i want to learn vc++,do i need to buy a c++
book to learn before i learn vc++?

Yes you have to learn C++ before using VC++.

or some vc++ books are suitable to someone who hasn't learnt c++ before?

http://www23.brinkster.com/noicys/learningcpp.htm


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #3
>Yes you have to learn C++ before using VC++.

No, you can learn C++ using just about any compiler. VC++ is a
compiler that compiles C++ code. So you can use VC++ to learn C++.
Visual C++ is just the name of the product, not a special type of C++.

Visual C++ 2003 (v7.1) is also 98% standards compliant. I think the
only other compiler out there that's even more compliant is the Edison
Design Group's compiler.

Does anyone know what percentage Borland or g++ is when it comes to
standards compliance?

Jul 22 '05 #4
Sethalicious wrote:
No, you can learn C++ using just about any compiler.


Did I say the opposite?


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #5
> Did I say the opposite?

You said that nick needed to learn C++ "before" using VC++. I was
thinking that people were saying that VC++ was a different programming
language and not a compiler. Sorry if I misinterpreted your response
to nick's post.

Jul 22 '05 #6
> Visual C++ 2003 (v7.1) is also 98% standards compliant. I think the
only other compiler out there that's even more compliant is the Edison Design Group's compiler.
While people, engineers in particular, like a single number to rate
conformance, most such ratings mean little. The number given is usually
based on the percentage of tests in a suite that are passed, but the
relationship between the tests passed and the number of areas in which
the compiler doesn't conform is more or less coincidental.

The bottom line is that there are quite a few different areas being
looked at, and any single number is basically a weighted average of all
those other numbers. The weighting used (even if it's an even
weighting) is basically an expression of an opinion by the
tester/statistical analyst about the relative value/importance of the
features exercised by the individual tests. An even weighting means one
of two things: 1) the tester considers all features equally important,
or 2) the tester really hasn't given much consideration to what he's
doing. At least IMO, either places the outcome in considerable doubt.
Does anyone know what percentage Borland or g++ is when it comes to
standards compliance?


No, nobody does (for any compiler). :-) Many people have opinions, but
nobody "knows" for the simple reason that this isn't "knowable".

With that given, I'll give my opinion on the subject:

At least based on the last time I tried to look at things, both of
these are what I'd consider somewhat behind. Borland is more or less
uniformly so (albeit not by a huge margin). I would say that Borland
seems to succeed or fail in what I'd call a more coherent fashion --
i.e. it seems to me much easier to get an idea of how obscure of code
it'll work or fail on. MS works perfectly for a lot of really obscure
code, but then fails on things that _seem_ much simpler.

g++ seems to have slightly better conformance in the language proper,
but the library seems fairly clearly behind. I consider it behind
overall for the simple reason that I more frequently have problems
getting it to accept code I'm fairly certain is correct. This is where
opinions come into the picture though: for me, on a practical basis, it
causes problems more frequently. I'm quite certain that's due in large
part to the code I write though. Somebody else who writes different
code might easily consider g++ anywhere from slightly to considerable
ahead of VC++.

In the end, such a number has little use in itself -- it's merely a
prediction of how likely you are to have problems getting that compiler
to accept your correct code. Without knowing quite a bit about the
intended user and the type of code they write, such a prediction about
these compilers is likely to correlate poorly with reality.

A final observation: the "single number" approach seems to me largely
an artifact of print media. If you're writing a magazine article (for
example) you have little choice but to present and summarize the facts
as you seem them. The interactivity of the web provides for much
greater possibilities -- collect information about the user and the
code s/he works with, and give a rating relative to that type of code.

At one extreme this might be a short questionaire about your code. A
more comprehensive version might allow the user to upload an archive of
their code. This would then be run through each compiler and any error
messages, etc., made available to the user along with a summary about
what percentage of their code was accepted by each compiler.

Then again, who'd want to replace the fun and excitement of compiler
flame wars with real information? :-)

--
Later,
Jerry.

The universe is a figment of its own imagination.

Jul 22 '05 #7

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

Similar topics

5
by: Steven O. | last post by:
First, sorry if by some chance I am not posting to the correct newsgroups, these seemed to be the most applicable to my question (see disclaimer at end of post for further comments....). Started...
2
by: jeevanand | last post by:
Hi, I want to learn VC++.please guide me to start learning from scratch. Thank You
7
by: Rensjuh | last post by:
Hello, does someone have / know a good C++ tutorial for beginnners? I would prefer Dutch, but English is also fine. Hoi, heeft / kent iemand nog een goede C++ tutorial voor beginners? Het liefste...
1
by: Jason Jacob | last post by:
To all, I would like to know where should I start to learn VC++ .Net ?? As for my prior experience in writing VC++ code, I found that the lang spec / structure is quite complicated (compared...
3
by: Neal | last post by:
managed C++ VS 2003 I have a beginner question about windows forms.... I need to call a function when a certain limit has been reached, now with the way VS sets up the .NET windows Form I get...
5
by: techie | last post by:
Hi, I'm a VC++ programmer with around 5 years of experience using VC++6. My company have plans to migrate to VS 2005 in the future. I know C++/CLI is pretty new and there aren't too many books...
9
by: Daniel | last post by:
Looking to see if anyone can offer some suggestions on some good VB.net books? looking for beginner to intermidiate and to expert.. Any suggestions? -- ASP, SQL2005, DW8 VBScript
10
by: hamza612 | last post by:
I want to start learning how to program. But I dont know where to start. From what I've heard so far c++ is not a good lang. to learn as a beginner because its very complicated compared to others...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.