473,763 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1695
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
2770
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 with the Borland web site, and it didn't answer my questions, so I hope someone here will be kind enough to reply. I took a few courses on C++ using Microsoft Visual C++, and then taught myself MFC for GUI design -- an exercise akin to using...
2
1881
by: jeevanand | last post by:
Hi, I want to learn VC++.please guide me to start learning from scratch. Thank You
7
2942
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 in Nederlands, maar Engels is ook goed. Thnx, Rensjuh
1
1217
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 with Java or C#), even writing String programs can cause you lots of trouble, especially in handling memory issues. I've read some "Programming Windows" books from MS Press, but it seems to me that its focus is on GUI things which is not quite...
3
2646
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 confused. When I was using Directx everything was being run from a while loop, so that was no problem for me in seeing where to place conditional statements and other functions. With windows forms do I need to have an event and eventhandler? it...
5
1764
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 on it but I wonder if someone can suggest some titles for me. Is the latest version of VC++ a lot different from VC++ version 2003? I was thinking of getting MS Press book "Microsoft Visual C++ .NET Step by Step Version 2003" which has a lot...
9
2228
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
2154
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 like python, ruby etc. I would like to know if there is a prerequisite to learning any computer language, is there something I have to learn before learning any computer language, like a basic or core?
22
18151
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 programmer and looking for a starting point in regards to practical projects to work on. What are some projects that beginner programmers usually start with? Please list a few that would be good for a beginner PHP programmer to
0
9563
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
9386
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
8822
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
7366
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
6642
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
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
3
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
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.