Today's Journal compiled by Katrina T. Simmons
Assistant Debbie Dawson
Journal November 17, 2005
First review of last class:
Menu
1. Review last class problem- We could not run the program
* Frustrations- everything was right, programming was correct not results-> security overprotection.
Original program that you write was Hello.cpp, Hello.exe,
Hello.java- means the language was java
The program is overprotected because people will try and put viruses in the computer
virus.cpp
virus.exe- the computer is trying to protect it from exe viruses
There are different algorithms that you should try to solve your problems, we will go back in try a different approach
*Mark arrived at 1:21*
If your selling a book and your just sitting there then they will say that its not a good business, there's always something to do
Movement creates activities- therefore it would look like you have something to do.
*************************************************************
We will run the program and Carmen will tell us what to do
Most universities use Linux: Linux is free and open source (you can see the program, add to it and subtract from it)- its written in c++
Microsoft has the security but it has a lot of holes already.
Cost of computer errors are a lot of money
*************************************************************
Is the year 20 is a leap year
400 is a leap year
1600 is a leap year
not every four hundred years are a leap year
Why is 20 a leap year and 1900 is not?
The algorithm is the book.
What does IDE stand for?
IDE- Interactive Department Environment
What is the problem with the IDE of Microsoft?
**************************************************************
This is the program that we compiled today
#include
<iostream>using
namespace std;main()
{
char name[15];
char answer;
while(1){
cout<<"HELLO WHAT IS YOUR NAME ";
cin>>name;
cout<<"I AM HAPPY TO MEET YOU "<<name<<endl;
cout<<" Would you like to have lunch with me ";
cin>> answer;
if(answer=='Y')cout<<"I AM SO HAPPY THAT YOU ACCEPT MY INVITATION ";
else cout<<" WE WILL TRY TO MEET ANOTHER TIME"<<endl;
cout<<" NEXT PERSON PLEASE";
}
return 0;
}
Dr. Ebrahimi did not use any intelligent things he just uses his memory, like when people remember their favorite basketball player and their favorite singers and rappers.
He's stopping here- some people he will let go other people he will have a conference with the other people because he is scared of their grade.