473,383 Members | 2,005 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,383 software developers and data experts.

Hello World...

Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.

I would like to know, should I buy a new book that is based on the standard
to learn from? or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there? ...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for
the learning process, as it may help for debugging later.. I don't know.

Thanks in advance,
Steve.
Jul 22 '05 #1
10 1298
"Steve" <gi******@hotmail.com> wrote...
Hi, I am just beginning my journey into C++. I have a book here and found in the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.

I would like to know, should I buy a new book that is based on the standard to learn from?
It's always a good idea to have a decent book.
or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there?
The non-standard-compliance of the code in that book is also tainted by the
non-compliance of the compiler you're using. It's much better to know which
part of the system is not working for you. For that you need either
a completely correct compiler (hard to find) or a completely correct book
(much easier to find).
...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for the learning process, as it may help for debugging later.. I don't know.


It might. You could always buy an older book written by somebody who knew
what they were saying, like Stroustrup and Ellis "Annotated Reference
Manual"
or one of earlier editions of "The C++ Programming Language" to see what
the language looked like before. What isn't a good idea is to buy a book
that is full of errors (even by its contemporary measures).

Victor
Jul 22 '05 #2
On Tue, 27 Jul 2004 10:32:43 +0930, "Steve" <gi******@hotmail.com>
wrote:
Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.
I would like to know, should I buy a new book that is based on the standard
to learn from? or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there? ...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for
the learning process, as it may help for debugging later.. I don't know.

Thanks in advance,
Steve.


I'd recommend getting some of the 'latest' tools,etc.

Two excellent texts, both free.

C++ Annotations Version 5.1.1a Frank B. Brokken
http://www.icce.rug.nl/documents/cpl...cplusplus.html
Here is Bruce Eckel's on-line books: Thinking in C++ Vol 1 & 2,
which are also excellent...

http://www.mindview.net/Books

For more info.
www.aacu.org

Mark
--
[ C++ FAQ: http://www.parashift.com/c++-faq-lite/ ]
Jul 22 '05 #3
"Mark" <ma**********@hotmail.com> wrote...
[...]

For more info.
www.aacu.org


www.accu.org
Jul 22 '05 #4
"Steve" <gi******@hotmail.com> wrote in message news:<1090890262.299697@teuthos>...
Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.


Whilst that old Borland compiler is pretty good by early 90's
standards, and still handy for 16 bit MS-DOS compilers i would not use
it for learning C++. It misses whole areas of standard C++ and whilst
careful planning allows surprisingly portable code between old and
new, it's not for the new.

Instead take the advice to read "thinking in C++", which i rate very
highly, or peruse your local library for a C++ book that accounts for
the C++ standard language (standardised in 1998 IIRC).
Jul 22 '05 #5
Would recommend "Accelerated C++" by Andrew Koenig for beginners.
A nice and slim book. Uses a very novel approach.
-Roshan
Steve wrote:
Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.

I would like to know, should I buy a new book that is based on the standard
to learn from? or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there? ...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for
the learning process, as it may help for debugging later.. I don't know.

Thanks in advance,
Steve.


Jul 22 '05 #6
Thanks guys.

Jul 22 '05 #7
On Tue, 27 Jul 2004 10:32:43 +0930, "Steve" <gi******@hotmail.com> had
a scratch and wrote:
Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.

I would like to know, should I buy a new book that is based on the standard
to learn from? or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there? ...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for
the learning process, as it may help for debugging later.. I don't know.

Thanks in advance,
Steve.


Your best bet is any book by Herb Schildt. His ability to disseminate
information to the novice is unique.
=====================

Pussie sHaveMo
reFunMeow MeowMeowPus
siesHaveMore FunMeowMeowMeo
wPussiesHaveMo reFunMeowMeowMeo
wPussiesHaveMor eFunMeowMeowMeowP
ussiesHaveMoreFu nMeowMeowMeowPussi
esHaveMoreFunMeo wMeowMeowPussiesHav
eMoreFunMeowMeowM eowPussiesHaveMor
eFunMeowMeowMeowP ussiesHaveMoreFunM
eowMeowMeowPussie sHaveMoreFunMeowMe owMeowPus
siesHaveM oreFunMeowMeowMe owPussiesHaveMore FunMeowMeowMe
owPussiesHave MoreFunMeowMeowM eowPussiesHaveM oreFunMeowMeowM
eowPussiesHaveM oreFunMeowMeow MeowPussiesHa veMoreFunMeowMeow
MeowPussiesHave MoreFunMeow MeowMeow PussiesHaveMoreFun
MeowMeowMeowPussi esHa veMoreFunMeowMeowMe
owPussiesHaveMoreF unMeowMeowM eowPussiesHaveMoreFu
nMeowMeowMeowPussie sHaveMoreFunMe owMeowMeowPussiesHav
eMoreFunMeowMeowMeo wPussiesHaveMoreFu nMeowMeowMeowPussie
sHaveMoreFunMeowMeo wMeowPussiesHaveMoreFu nMeowMeowMeowPussi
esHaveMoreFunMeowM eowMeowPussiesHaveMoreFu nMeowMeowMeowPuss
iesHaveMoreFunMe owMeowMeowPussiesHaveMoreFu nMeowMeowMeowP
ussiesHaveMor eFunMeowMeowMeowPussiesHaveMore FunMeowMeow
MeowPussi esHaveMoreFunMeowMeowMeowPussiesHave MoreF
unMe owMeowM eowPuss
iesHave MoreF unMeowMeowM
eowPussies Ha veMoreFunMeo
wMeowMeowP us si esHaveMoreFu
nMeowMeowM eow Pus siesHaveMore
FunMeowMeo wMeow Pussi esHaveMoreFu
nMeowMeow MeowPu ssiesH aveMoreFun
Meow MeowMeow Pussie
sHaveMoreFunMeowMeowMeowPussiesHaveM
oreFunMeowMeowMeowPussiesHaveMo
reFunMeowMeowMeowPussies
Jul 22 '05 #8
"Bradley Bungmunch" <br***************@yahoo.com > wrote in message
news:b2********************************@4ax.com...
On Tue, 27 Jul 2004 10:32:43 +0930, "Steve" <gi******@hotmail.com> had
a scratch and wrote:

[snip]


You need to look at the FAQ and check out the rule about signatures being
less than or equal to four lines in length, cause yours is significantly
longer.
Jul 22 '05 #9
Bradley Bungmunch wrote:

On Tue, 27 Jul 2004 10:32:43 +0930, "Steve" <gi******@hotmail.com> had
a scratch and wrote:
Hi, I am just beginning my journey into C++. I have a book here and found in
the first tutorial "HelloWorld" that I had a backward warning. After some
research into the code I typed I found that there was a standard so I guess
this book is based on old code. It didn't take long and I found what I
needed to fix it. I am using Borland BuilderX personal edition, which gave
me the warning, but I also have a copy of Borland Turbo 1.01 and this old
code worked fine. Which I expected to happen.

I would like to know, should I buy a new book that is based on the standard
to learn from? or might it be better to keep going through this book, but
knowing that there is a standard and that there may be a few warnings here
and there? ...I am just thinking becuase I have 2 programs based on old and
new ways of writing C++ that it might be a good idea to know about both for
the learning process, as it may help for debugging later.. I don't know.

Thanks in advance,
Steve.


Your best bet is any book by Herb Schildt. His ability to disseminate
information to the novice is unique.


But you should also be aware, that Schildt's books are full of errors.
So after having worked through one of them buy a second book by a
different author and make it a sport to find all technical inaccuracies
in Schildt's books.
--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #10
Karl Heinz Buchegger <kb******@gascad.at> spoke thus:
But you should also be aware, that Schildt's books are full of errors.
So after having worked through one of them buy a second book by a
different author and make it a sport to find all technical inaccuracies
in Schildt's books.


You, in turn, should be aware that the post to which you replied was
posted by someone who trolled comp.lang.c for some time. Apparently
the poster is a denizen of alt.fan.karl-malden.nose or some other
grimy alt.* hole; in any case I would suggest plonking it or at least
not responding to its trolling.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Jul 22 '05 #11

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

Similar topics

24
by: Andy Sutorius | last post by:
Has anyone successfully created a Hello World program without using Visual Studio.NET? If so, what IDE did you use and what namespaces did you import? Thanks! Andy Sutorius
2
by: ME | last post by:
I am trying to find a prewritten method for converting a string like this:"Hello World" to this "Hello\sWorld". I plan to use it to build a regular expression. Specifically I am looking for a...
17
by: Tim Judd | last post by:
I must not be grasping anything here. Just a simple application, as follows (as any first-program is...) ---- #include <iostream.h> int main() { cout <<"hello world"; return 0;
6
by: RC | last post by:
Hello World, I am try do call a JavaScript function from XSLT, but I got function not avaible error. See "????" below. Would someone out there tell me how? Thank Q! <xsl:stylesheet...
8
by: vijay | last post by:
Hello, As the subject suggests, I need to print the string in the reverse order. I made the following program: # include<stdio.h> struct llnode { char *info;
4
by: arnuld | last post by:
i am learning C and doing the exercise 1-1 of K&R2, where K&R ask to remove some parts of programme and experiment with error, so here i go: #include <stdio.h> int main () { printf('hello...
0
by: C.W.Holeman II | last post by:
As K&R state the hardest part is getting a first instance to work. So I am looking for a "hello, world!" example for adding an additional element to an XHTML file. <html> <head><title>Hello,...
1
by: James T. Dennis | last post by:
You'd think that using things like gettext would be easy. Superficially it seems well documented in the Library Reference(*). However, it can be surprisingly difficult to get the external details...
11
by: cj | last post by:
Perhaps someone knows how to do this. When I open a new ASP.NET web service application in VS 2008, it opens with a simple Hello World web service already written. I want to see this work. ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.