ÿþ<html><head> <!-- *** Replace the title below with your Homework Title --> <title>Try It Out</title> <script type="text/javascript" src="http://webcomp.cse.unt.edu/scripts.js"></script> </head> <body style="width:700;"> <!-- *** Replace the title with your Homework Title, as well as include whatever description is appropriate that you'd like the user to see that describes this program --> <h1>Try It Out</h1> <p>Type your program in the space below and compile and run. Explore! Try different code to see the effects. </p> <!-- *** In the line below, replace "section" with your course section, and replace "assignmentName" with the assignment name (this name is what is referenced in the webCompiler editCourseInfo page) --> <form method="post" enctype="multipart/form-data" target="Output" action="http://webcomp.cse.unt.edu/uesApp.php?1020+Section=301+Assignment=TIO"> <!-- *** In all of the following references to "HW6" change them to a value that corresponds to the Homework number, like hw5 or homework7. Note there are several references to "HW6" on these lines, including the corresponding program names (like "htXpgm.cpp"); be sure these are changed as well -- probably using a global-replace on "HW6" would be the easiest to accomplish this. --> <p>Enter your source code here:<br /> <textarea name="TIO[Form][TIOpgm.cpp]" rows="25" cols="80" wrap="no"> // // Opening comment goes here // #include <iostream> int main() { // put your code here. cout << "My name is " << "Harvey Wallpaper" << endl; // ... return 0; // should be at the end of every program } // end main </textarea></p> <p>Enter your data here:<br> <textarea name="TIO[Data][Form][stdin.dat]" rows="6" cols="40"> put your sample test data here </textarea></p> <p><input type="submit" style="font-size:14pt; background-color:lightgreen;" name="Run[TIO]" value="Compile/Run this program" /></p> <hr /> <h2><i>Emailing your work to Yourself</i></h2> <p>Remember that the source code you type in the form field above is only available while this browser window is open. If you close the window, the program you've entered is lost. You must save your program in case you would like to work with it again.</p> <p>You can save your work by either:</p> <p><ul> <li>Marking all of the text in the field (using the methods available in your OS), copy the data to your system clipboard, and then save it locally, probably by using some text editor on your local computer, OR <li>Use the button below to email a copy of your source file to yourself. The program will automatically use the email address you've specified above. </ul></p> <input type="submit" name="MailtoStudentEmail" value="Email copies of files to Student" /> <hr /> </form> </body></html>