473,410 Members | 1,857 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,410 software developers and data experts.

Site for Tutorial C++ !

Hi,

is this a "good" tutorial on C++ : http://www.functionx.com/cpp/index.htm

Thanks
Jul 22 '05 #1
4 1159
Sayajin wrote:
Hi,

is this a "good" tutorial on C++ : http://www.functionx.com/cpp/index.htm

Thanks

Better than some, but still could use with some proofreading
by someone who actually KNOWS the language. Lots of mistakes
and misinformation in the first two chapters I read.
Jul 22 '05 #2
* Ron Natalie:
Sayajin wrote:
Hi,

is this a "good" tutorial on C++ : http://www.functionx.com/cpp/index.htm

Thanks

Better than some, but still could use with some proofreading
by someone who actually KNOWS the language. Lots of mistakes
and misinformation in the first two chapters I read.


From the first chapter:

<quote>
The libraries are (also) called header files and, as computer files,
they have the extension ".h". An example would be house.h, or person.h.
As you see, they could have any name; when you start creating your own
libraries, you will give your files custom and recognizable names.

The first library we will be interested in is called iostream. It asks
the computer to display stuff on the monitor's screen.

To see how to put a library in your program, you put it at the beginning
of the file. Here is an example

include iostream.h
</quote>

It's difficult to know where to begin when the author's understanding is
so warped; I think I pass on this one...

--
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?
Jul 22 '05 #3

"Alf P. Steinbach" <al***@start.no> wrote in message
news:41*****************@news.individual.net...
* Ron Natalie:
Sayajin wrote:
> Hi,
>
> is this a "good" tutorial on C++ :
> http://www.functionx.com/cpp/index.htm
>
> Thanks
>
>

Better than some, but still could use with some proofreading
by someone who actually KNOWS the language. Lots of mistakes
and misinformation in the first two chapters I read.


From the first chapter:

<quote>
The libraries are (also) called header files and, as computer files,
they have the extension ".h". An example would be house.h, or person.h.
As you see, they could have any name; when you start creating your own
libraries, you will give your files custom and recognizable names.

The first library we will be interested in is called iostream. It asks
the computer to display stuff on the monitor's screen.

To see how to put a library in your program, you put it at the beginning
of the file. Here is an example

include iostream.h
</quote>

It's difficult to know where to begin when the author's understanding is
so warped; I think I pass on this one...

From lesson 12 - Dynamic Multi-Dimensional Arrays

int main()
{
int *pNumbers[2];

*pNumbers = new int[0]; // it allocates a vector of size 0
(*pNumbers)[0] = 31; // core dump
(*pNumbers)[1] = 29; // core dump
(*pNumbers)[2] = 31; // core dump
(*pNumbers)[3] = 30; // core dump
(*pNumbers)[4] = 31; // core dump
(*pNumbers)[5] = 30; // core dump

*(pNumbers+1) = new int[1]; // it allocates a vector of size 1
(*(pNumbers+1))[0] = 31; // we are lucky
(*(pNumbers+1))[1] = 31; // core dump
(*(pNumbers+1))[2] = 30; // core dump
(*(pNumbers+1))[3] = 31; // core dump
(*(pNumbers+1))[4] = 30; // core dump
(*(pNumbers+1))[5] = 31; // core dump

cout << "List of Numbers";
cout << "\n(*pNumbers)[0] = " << (*pNumbers)[0];
cout << "\n(*pNumbers)[1] = " << (*pNumbers)[1];
cout << "\n(*pNumbers)[2] = " << (*pNumbers)[2];
cout << "\n(*pNumbers)[3] = " << (*pNumbers)[3];
cout << "\n(*pNumbers)[4] = " << (*pNumbers)[4];
cout << "\n(*pNumbers)[5] = " << (*pNumbers)[5] << endl;

cout << "\n(*(pNumbers+1))[0] = " << (*(pNumbers+1))[0];
cout << "\n(*(pNumbers+1))[1] = " << (*(pNumbers+1))[1];
cout << "\n(*(pNumbers+1))[2] = " << (*(pNumbers+1))[2];
cout << "\n(*(pNumbers+1))[3] = " << (*(pNumbers+1))[3];
cout << "\n(*(pNumbers+1))[4] = " << (*(pNumbers+1))[4];
cout << "\n(*(pNumbers+1))[5] = " << (*(pNumbers+1))[5] << endl;

delete [] *pNumbers;
delete [] *(pNumbers+1);

return 0;
}

Fabio
Italy
Jul 22 '05 #4
"Sayajin" <me*******@wanadoo.fr> wrote in message
news:41**********************@news.free.fr...
| Hi,
|
| is this a "good" tutorial on C++ : http://www.functionx.com/cpp/index.htm

nope. far too little emphasis is put on use of the standard library.

The best online version I have found is
http://www.roguewave.com/support/doc...epro/stdlibug/

-Thorsten
Jul 22 '05 #5

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

Similar topics

1
by: OramaF1Net | last post by:
I Need Update one table of a company This system is all in Excel with table of clients and prices of products. I like to develop a site with database in a language php-sql, however i need a...
1
by: sjones | last post by:
I have an account with a vendor that list my order info like below: Is there a way to connect to the site, logon & get the ordernumber & tracking, load into mysql? The url is sort of like this:...
1
by: ted | last post by:
Looking for advice on the best approach to building static websites. Last year I built a static website with XSLT. The content is in XML and I run it through XSLT to update the site. The XSLT...
0
by: Yoann Charpiot | last post by:
Hi, I'm working on a VoiceXML project and I need full tutorial step by step (i'm beginner) or some web site proposing working simples sources. I'm exclusively using dial, no voice recognizion or...
10
by: BillP | last post by:
Hello, I have been in print publishing since the late 1980's, and I need to build several web sites. I am familiar with HTML at a very basic level, and understand its similarities with Quark...
1
by: Glendon | last post by:
Hi Guys The best "ASP.net using C#" tutorial site I have found so far is http://www.asp.net. Most of the others focus on VBScript. Does anyone know of any other really good tutorial or...
26
by: JB | last post by:
Hi All, This is my first go at a pure CSS web site and I'd like your comments and suggestions please. The URL is http://www.waukeshapumps.com/ Comments on CSS, design and content very...
2
by: DAL | last post by:
Question: How easy is it to have RSS feeds consumed on my site, and is there any EASY (your dealing with a newbie) tutorials that explain how to write the code. I am looking for a tutorial that...
6
by: Sh | last post by:
Hi All, Can someone tell me what would be a good site to start learning C#. It should be able to explain me bit by bit clearly. Thank you, Sh
8
by: cms-hispano.org | last post by:
i'm building a site about extreme accessibility, i.e.: how (and why) to get sites to become fully accessible, *beyond* W3C Web Accessibility Initiative guidelines. it's far from being completed (i...
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
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
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,...
0
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...
0
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
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
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,...
0
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...

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.