|
From: Bob C. <rc...@ps...> - 2002-02-17 22:08:55
|
----- Original Message -----
From: "Bob Campbell" <rc...@ps...>
To: "Rashan Jibowu" <re...@ho...>
Sent: Sunday, February 17, 2002 5:08 PM
Subject: Re: [Dev-C++] A Couple of Questions
> Hi,
>
> > 1. How do I clear the screen (MS-DOS) before each time I run, or re-run
a
> > program?
>
>
> One way to clear the screen is to use system("cls");
>
>
> > 2. How do I use libraries in a C++ program?
>
>
> Each library has its own way of doing things. You can download and try
> different libraries... some include tutorials.
> You can also read up on things like the <iostream> library to see how it
is
> used and how you #include it in your programs.
>
>
>
> > 3. Why would a programmer want several separate source files to be
> compiled
> > into one program? Why not just keep all of the source code in one file?
>
>
> Just look at the complexity of some applications and think what it would
be
> like if the source was not broken up, organized, and used only when
needed.
> Imagine being stuck in a mall where there no walls separating the stores
or
> walls to separate departments within individual stores... utter chaos. And
> if you are a parent, hell on earth...
>
> Bob
>
>
>
>
|