<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
<br>
On 11/16/14 11:46, Christian Steinmeyer wrote:<br>
</div>
<blockquote
cite="mid:C40B2F181831EF44A88CD73525827803130CFB7C5F@MERCERMAIL.MercerU.local"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Hi Dr. Pounds,</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I just wrote
the first program for the third programming assignment. If I
got that correctly that is basically the same code as in the
book, right? If so, it should run and do something, I suppose?
If I try to run my program, it does not work. It compiles just
fine, but when I run it, I get the message, that the program
doesn't work anymore and whether I would like to end it or
not. If you try to run my program, does the same happen? If
so, where is the mistake? I proof read the program twice now,
but cannot find any differences. Also, I tried to remove the
for loop that is supposed to slow the program down, just in
case, but that didn't solve the problem...</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">I'd appreciate
any feedback so that I can continue working on the second
part.</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default"
style="font-family:arial,helvetica,sans-serif">Chris</div>
</div>
</blockquote>
<br>
First -- the entire program from the book is already available on
cobra at<br>
<br>
/pub/pounds/CSC315/whitrowBook/Chapt4/ROBOT2.cpp<br>
<br>
Also, you need to look at the text in the book. It describes a
textfile that is read by the robot to make it move. In other words,
the text file describes the motions of the robot.<br>
<br>
If you get ALL of this to work you have completed the first part of
the assignment.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>