Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 5th, 2005, 6:07 PM   #11
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Ooble liar, I think everyone knows cin and cout are stream objects, but you are just a troll so you just want an extra post.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Jul 6th, 2005, 9:21 AM   #12
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Funnily enough, I didn't. I don't know much about C++ - I really only know what I've picked up from reading other people's code. I'm a C programmer. Now I really should get around to reading that C++ book I ordered last week...
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jul 6th, 2005, 9:38 AM   #13
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
There is a point to be taken here. If one is not conversant with a subject one should be very careful about providing misinformation to newbies. Posters come here for solid answers and such answers are hard enough to provide in the face of changing language definitions and technological progress. It's an area in which to exercise care and discretion.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 6th, 2005, 9:49 AM   #14
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
And I apologise for it. They say the best way to learn is to teach, and this is one of the reasons: if you make a mistake, it will be picked up five times as fast as it would have were you programming for yourself only.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jul 6th, 2005, 2:54 PM   #15
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
Just to clarify, "<<" on cin or cout is a function.

std::cin<<"foo\n"; is the same as:
std::cin.operator<<("foo\n");
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old Jul 6th, 2005, 3:25 PM   #16
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Quote:
Originally Posted by DaWei
The functions are in the insertion and extraction operators << and >>
That needed clarification . I must work on my communication skills!
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 6th, 2005, 3:43 PM   #17
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
hehe, yeah, them pointy thangies...


(i you may consider the use of the term "thangy" a plagiarism.... in which case I apologize for, but will not retract... .. at least not until I am beset by your attorney )
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty

Last edited by stevengs; Jul 6th, 2005 at 3:55 PM.
stevengs is offline   Reply With Quote
Old Jul 6th, 2005, 7:23 PM   #18
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I tried to trademark "thangy," but 6 ropers from my hometown of Muleshoe took exception, discoursing with boot heels and the butt end of a calf rope. The whupped my butt so hard the Skoal can circle disappeared from my hip pocket.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jul 6th, 2005, 7:55 PM   #19
uman
Expert Programmer
 
Join Date: Dec 2004
Posts: 794
Rep Power: 4 uman is on a distinguished road
Nope, DaWei, it was perfectly clear. I'm just an idiot, so I didn't read your whole post and notice you said that, or forgot. Or something.
__________________
Few people deserve to be compared to (Rush) Limbaugh, most of them were convicted at the Nuremburg trials.
--WilliamSChips on Slashdot
uman is offline   Reply With Quote
Old Jul 8th, 2005, 10:17 PM   #20
clearbit
Newbie
 
clearbit's Avatar
 
Join Date: Jun 2005
Location: far..far..away
Posts: 25
Rep Power: 0 clearbit is on a distinguished road
What version is your book. I have this book and I don't like it that much. It's just not detailed enough and the writer tries to hard. Maybe you have a newer edition but 1st edition is lame(sorry). telling by the code, it must be and older book.
__________________
spaghetti code is my only friend.. :cool:
clearbit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:29 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC