In class we have been working on creating a program containing multiple forms to create a single '.exe' file that we will be able to install and run at home. In other words, we are using forms that we have created before, graphically designing them to fit a single theme, and putting them together. I have decided to create a sort of "boredum buster" game called "Funpalooza" for little kids using cute pictures and a bright color scheme. Although the project is still in progress, I have managed to create splash, menu, challenge, closing, and confirmation forms. In addition, I've successfully put in a timer for my splash page (in case the user does not click on "continue" after 20 seconds). I've added all the forms together into one project, and I have also added my "Easter Egg" (Secret "surprise" in the code that can be discovered by pressing a letter on the keyboard). Now all that's left to do is make all the icons the same, and modify a few forms to unify the design scheme.
Until next time!
--->Eliza!
Friday, March 21, 2008
Programming with Java
Hello everyone! Recently our class has been working on several programs working with Java. So far, we have coded a standard "Hello World" test, simple calculation programs working with area/dog years, and experimenting with basic input and output. Below is the code and screen capture of the "Hello World" program.
Until next time!
--->Eliza!
/* Program to display the traditional Hello WOrld! message. */
/* Eliza Labrador */
/* March 2008 */
public class HelloWorld {
public static void main (String args[])
{
System.out.println ("Hello World!");
System.out.println ("by");
System.out.println ("Eliza Labrador");
}
}
Until next time!
--->Eliza!
Saturday, March 8, 2008
C++ Assignment 2
Yesterday we completed our last assignment from the C++ unit, which was the hardest yet! We had to create a program that asked for the user's first and last name so that the program would personalize its output messages using their initials. Then it would ask for the user to enter in a percentage that they have in a certain subject. After they enter it and press [Enter] , a letter grade of the corresponding percentage would be displayed for them with their initials in the output message. This required us to use a do...while (conditional) loop so that the question keeps repeating so they could enter different percentages until they use a percentage that is less than 0. If they input a negative number, the program ends. Now that we are finished with the C++ unit, we will be starting a hello world test for Java very shortly. Stay tuned for another post on our first program with Java!
Until next time!
--->Eliza!
Until next time!
--->Eliza!
Subscribe to:
Posts (Atom)