Hi,
I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or
the 'c' in <cassert>?
Thanks,
Peng 9 7109
"Pe*******@gmail.com" <Pe*******@gmail.comwrote:
Hi,
I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or
the 'c' in <cassert>?
My guess is that it stands for "console".
On Oct 19, 6:13 am, "PengYu...@gmail.com" <PengYu...@gmail.comwrote:
Hi,
I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or
the 'c' in <cassert>?
Thanks,
Peng
In cout and cin the charecter "C" represents Console. sr*********@gmail.com wrote:
On Oct 19, 6:13 am, "PengYu...@gmail.com" <PengYu...@gmail.comwrote:
>Hi,
I'm wondering what 'c' in "cout", "cin" mean? Does it mean "C++"? Or the 'c' in <cassert>?
Thanks, Peng
In cout and cin the charecter "C" represents Console.
I doubt that. It just writes to a stream; the standard output stream in
this case. That usually also happens to be a console, but that's
system-dependent.
Stroustrup claims the 'c' stands for character.
--
SM
rot13 for email
Shadowman wrote: sr*********@gmail.com wrote:
>In cout and cin the charecter "C" represents Console.
I doubt that. It just writes to a stream; the standard output stream in
this case. That usually also happens to be a console, but that's
system-dependent.
Stroustrup claims the 'c' stands for character.
Which surprisingly matches wcout for wide-character output. ;-)
Markus
In message <47***********************@newsspool4.arcor-online.net>
Markus Moll <ma*********@esat.kuleuven.ac.bewrote:
Shadowman wrote:
>sr*********@gmail.com wrote:
>>In cout and cin the charecter "C" represents Console.
I doubt that. It just writes to a stream; the standard output stream in this case. That usually also happens to be a console, but that's system-dependent.
Stroustrup claims the 'c' stands for character.
Which surprisingly matches wcout for wide-character output. ;-)
Markus
I read somewhere (but I can't find the source) that functions in C
which have been adopted into C++ have the letter 'C' put in front, so
'function' becomes 'cfunction'.
Michael Bell
--
Michael Bell wrote:
>
I read somewhere (but I can't find the source) that functions in C
which have been adopted into C++ have the letter 'C' put in front, so
'function' becomes 'cfunction'.
Can you name one? Maybe you are thinking of the standard library
headers (<stdio.h-<cstdio>)?
--
Ian Collins.
On 2007-10-19 17:07:24 -0400, Michael Bell <mi*****@beaverbell.co.uksaid:
>
I read somewhere (but I can't find the source) that functions in C
which have been adopted into C++ have the letter 'C' put in front, so
'function' becomes 'cfunction'.
It's a good thing you can't find the source, 'cause it's wrong. <gWe
did that with the C header names, but not with functions or variables.
--
Pete
Roundhouse Consulting, Ltd. ( www.versatilecoding.com) Author of "The
Standard C++ Library Extensions: a Tutorial and Reference
( www.petebecker.com/tr1book)
In message <5n************@mid.individual.net>
Ian Collins <ia******@hotmail.comwrote:
Michael Bell wrote:
>> I read somewhere (but I can't find the source) that functions in C which have been adopted into C++ have the letter 'C' put in front, so 'function' becomes 'cfunction'.
Can you name one? Maybe you are thinking of the standard library
headers (<stdio.h-<cstdio>)?
Yes, you're right. I was thinking of standard library headers. But
'cout' and 'cin' seem so obviously 'out' and 'in' with a 'c' in front
that I thought the same must apply.
Michael Bell.
-- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andrey Mishenin |
last post by:
While accessing MySQl data base by means of perl the value of variable $! sometimes equals " Resource temporarily unavailable". At the mean time everything works correct. What does that mean?...
|
by: pembed2003 |
last post by:
Hi all,
I recently saw a piece of code that looks like:
class one{public: one(){} };
class two : public virtual one{public: two(){} };
class three : virtual public one{public: three(){} };
...
|
by: pete |
last post by:
I found it in the view source of a corporate website.
<script Language="Javascript">
<!--
var keyMacro=
];
//-->
</script>
|
by: **Developer** |
last post by:
What does this mean:
External component has thrown an exception.
My program crashes after it leaves a subroutine.
What I see during debugging is
when I press F11 at the End Sub statement
|
by: tony |
last post by:
Hello!!
I know what an abstract class is which mean that the one of the derived
class must define
the abstract methods in the abstract class. So all the abstract methods in
the abstarct class...
|
by: tony |
last post by:
Hello!!
I have some demo programs written in C# and they have this construction
"" see below.
I haven't seen this before so what does it mean ?
public bool ShowDropDownButtons
{
get {...
|
by: JoeC |
last post by:
m_iWidth = (int)pBitmapInfo->bmiHeader.biWidth;
m_iHeight = (int)pBitmapInfo->bmiHeader.biHeight;
What does this mean?
I have seen v=&var->member.thing;
but what does it mean when you...
|
by: steve |
last post by:
What does it mean to set a value or April fools all year long :)
http://beyondsql.blogspot.com/2008/03/sql-what-does-it-mean-to-set-value.html
|
by: Tony |
last post by:
Hello!
It says "Another limitation that you need to be aware of is that using the
operator == and != are
only permitted when comparing a value of a type supplied to a generic type
to null....
|
by: rasmidas |
last post by:
Hi,
Could anyone please let me know what does it mean by the following statement in solaris shell scripting.
$PROMPT " Select an option: "
read ans
db_option=${ans:=0}
I...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
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...
|
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
|
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...
|
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,...
|
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...
|
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,...
| |