TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: FERNANDO ARIEL GONT
from: MIKE PATTEN
date: 1997-07-08 22:01:00
subject: Puff!

 >>> Part 2 of 2...
Originally, it was the "left shift operator" and it moved the bits to
the left, but since your question refered to the "stream class," (I
think) I guess you want to know about the "insertion operator."
Here's an example:
 #include 
 void main(void)
 {
    cout << "Hola, Fernando.\n";
 }
cout is an ostream (iostream.h says so) and the string "Hola,
Fernando.\n" is inserted into the stream (which goes from the memory
to stdout-- normally the monitor.)
 FAG(> En una parte en la que el libro habla sobre el objeto "cout", dice que
 FAG(> "los caracteres especiales que no se imprimen se expresan con
 FAG(> secuencias de esca- pe, compuestas por una barra invertida (\) seguida
 FAG(> de un codigo especial"... Pero... las secuencias de escape utiliza el
 FAG(> ANSI ? ... O sea que no son las que para imprimirlas hace falta tener
 FAG(> el driver ANSI.SYS instalado en memo- ria ?
I'm sorry, but I don't understand what you're asking here.  I *think*
you started out by asking about the cout object, then went on to ask
about escape sequences which start with a backslash (\), and finally
asked whether these escape sequences are related to ANSI escape
sequences which require ANSI.SYS to be loaded in memory.
I already mentioned cout above.  Escape sequences are for displaying
special characters such as
\a    beep
\b    backspace
\f    formfeed
\n    linefeed
\r    carriage return
\t    tab
\v    vertical tab
\\    \
\?    ?
\'    '
\"    "
\ooo  octal number ooo
\xhh  hex number hh
and no, they have nothing to do with ANSI escape sequences.
 FAG(> En una parte habla sobre los "generadores de codigo C" y sobre los
 FAG(> "compila- dores de C++ de c digo nativo"...... Siguen existiendo los
 FAG(> "generadores de codigo C" ?
You *completely* lost me here.  
 FAG(> En varias partes nombra a "AT&T".... que tiene que ver "AT&T" con el
 FAG(> lengua- je C o el lenguaje C++ ?
I think the answer is: Yes, both C and C++ came from AT&T.
 FAG(> Mil Gracias... !
I hope I answered the same questions you asked.  If so, you're
welcome.
Mike Patten 
... Profanity is the one language all programmers know best.
---
   Blue Wave/386 v2.30 [NR]  
--- WWIVToss v.1.38b Registered 
---------------
* Origin: Faith keeps collapsin' on my head... (1:271/150.0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.