TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: SEBASTIAN NOZZI
from: KURT KUZBA
date: 1998-04-02 05:51:00
subject: Exceptions

SN>   C++ Builder & BC++ 5
SN>   I would like to know which are the main differences
SN>   between this two programming tools.
   BC++5.0 is a C++ compiler and development environment.
   C++ Builder is, to my knowledge, an enhanced development
   environment for Borland C++.
SN>   What are streams exacly, and what can be done with them?
SN>   Wgat is a streamable class?
   A stream is a data I/O object. With streams, you can move
   data to and from your application, and manipulate it.
   A streamable class is one whose data objects may be used
   directly with the stream functions.
SN>   What are exceptions and what do they have to do with C++?
SN>   What are they used for?
   Exceptions are used to catch errors in C++.
   When you allocate memory, for instance, or open a file, or
   create an instance of a class, and there is an error in the
   process of doing so, it creates an exception which you may
   catch. You may then implement recovery code or inform the
   user that there has been an error in your app's operation.
SN>   Can I declare a function that returns an unknown type
SN>   (known at run-time) by value and not by reference
SN>   (the famous void*)?
   Yes. In C++ however, you will require an explicit cast to
   type at time of use when the value is returned, whereas,
   in C, the void* is automatically assigned to type in use.
> ] Give me only the facts. I grow weary of all these Truths....
---
---------------
* Origin: *YOPS ]I[* 8.4 GIG * RA/FD/FE * Milwaukee, WI (1:154/750)

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™.