>> Just got a quick question
from the class about a simple way to create the verbose files,
so I'm going to just illustrate that very quickly how to do
that with Linux and Emacs. So, the first thing we do is
log into linprog [phonetic]. [ Silence ] And. [ Silence ] Get into our 3330 proj1 directory. And I'm going to just quickly
show you that, my shapes file. And I don't think this is really
going to be a big surprise to anyone, but you'll see just as an example that
I've got, here's the box constructor. And it's outputting box. Here's the box destructor
outputting box. The cylinder constructor. The cylinder destructor and so on. So these are all in verbose
mode if you like. So, then what I would do is. [ Silence ] Since I don't want to change my,
it's a little bit more involved to change the vehicles
file, so I'm just going to save my verbose thing
over to the side. So, what we would do is cat
shapes dot cpp and vehicles. If I just type that and hit enter it
would just send all those contents of those two files to screen. But what I'm going to do is
redirect that to verbose dot cpp. And now I can compile. And I'll, oh, I did [inaudible]
give this the right name. So, you see I now have in
particular I've got a tracker, and I've got a tester built. [ Silence ] So. [ Silence ] That cleans it up back to where it was. And then after you've done a run
tester you're sure you're ready, your class hierarchy, your
framework is ready for prime time, ready for delivery, then you want to silence your constructors
and destructors. So, the way you do that with Emacs
is you just do a search and replace. So, I'm going to do, remember that's
escape percent, and what you want to do is replace SCD cout with
a [inaudible] out scd cout. Do we want to do it there? Yes. Yes. Yes. Yes. Yes. Yes. And that would be the
silent version of shapes. Now, if I wanted to go back and
make another correction based on testing verbose, then I would need
to go and uncomment all of those, which again you can do
in Emacs very quickly. That's a control percent. And I'm going to space with another,
in other words replace the com in and out, sdt double colon cout. And just sdt double colon cout. One, two, three, four, five, six times, and you're back to the
non-silent version. So, if you use Emacs and cat and so on, it's very easy to manipulate
these files the way you want to. So, now I'm going to go back
to the com in and out version because that's the way it
needs to get delivered. OK. That's all I'm going
to say about that. And we'll call this video to a halt.