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

It is very surprising ....

So please, look into Stroustrup's "The C++ Programming Language" (AT&T
1997), where in the Introduction a very similar code to mine is
placed.

Janek
Jul 23 '05 #1
3 1405
janek wrote:

So please, look into Stroustrup's "The C++ Programming Language" (AT&T
1997), where in the Introduction a very similar code to mine is
placed.

Janek


What are you talking about?

Please note: The regulars work though dozends of postings each day.
At least I don't know every post by heart that I see each day and by
whom it was posted. So a little bit of context of what you are talking
about is always a good idea.

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 23 '05 #2
Karl Heinz Buchegger wrote:
janek wrote:
So please, look into Stroustrup's "The C++ Programming Language" (AT&T
1997), where in the Introduction a very similar code to mine is
placed.

Janek

What are you talking about?

Please note: The regulars work though dozends of postings each day.
At least I don't know every post by heart that I see each day and by
whom it was posted. So a little bit of context of what you are talking
about is always a good idea.


Karl, I did a search for "janek" in my Google Groups. The only post
from 2005 would be the one about namespace vs. class.

To answer Janek's (presumed) question: 1997 is pre-Standard. That
particular edition of TCPPL didn't discuss namespaces properly.
Pre-Standard, the only way to create global data items in their own
namespace was to make them static members of a class.
Jul 23 '05 #3
red floyd wrote:
Karl, I did a search for "janek" in my Google Groups. The only post
from 2005 would be the one about namespace vs. class.

To answer Janek's (presumed) question: 1997 is pre-Standard. That
particular edition of TCPPL didn't discuss namespaces properly.
Pre-Standard, the only way to create global data items in their own
namespace was to make them static members of a class.

Actually it is TC++PL 3. Well FDIS was in November 14, 1997 (the
finished content) so we can say it is not pre-standard. Perhaps
Stroustrup himself may shed some light on this (if there were
"pre-standard/non-standard things in the first printing of the book),
however I do not think so.

The answer to OP is that a class is a type, while a namespace is a scope
for grouping related facilities, including classes themselves.


--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 23 '05 #4

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

Similar topics

6
by: m_a_t_t | last post by:
Ok, I'm reading "The C Programming Language: 2nd Edition" and I'm on chapter 1.5.1 and here's the program you're sposed to make: #include <stdio.h> /* copy input to output; 1st version */...
3
by: Jesper Denmark | last post by:
Within the following construction switch (expression) { int i; i = GetArgs() //return 2 case constant-expression:
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
4
by: cwdjrxyz | last post by:
Take a look at http://www.explorerdestroyer.com/ and view the script used to detect IE. It uses quite a maze of elaborate script that examines user agents and many properties of a browser. Of...
7
by: codergem | last post by:
Hello Friends Can anyone help me where exactly at what address the *p is storing the updated value ( which is 99). const int k=9; int *p=(int *)&k; cout<<"Addr of k : "<<&k<<" "<<p;
4
by: David Abrahams | last post by:
I'm seeing highly surprising (and different!) behaviors of PyImport_ImportModule on Linux and Windows when used in a program with python embedding. On Linux, when attempting to import a module...
51
by: cool_ratikagupta | last post by:
hello friends i ha just started learning c can u all give me the tips to make myself strong in c lanuage . as i want to be the best in watever i do . so just a request from all of u here plz help...
0
by: Jon Forrest | last post by:
This isn't actually a C# issue, but probably many people who use C# have experienced the issue mentioned in http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=311797...
15
by: removeps-groups | last post by:
How to wrap text in <ptag if the text has no spaces and is very long? Here is an example: ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.