Journal Of Wed. Sep 28
QUIZ POSTPONED UNTIL OCT 12TH. due to class request.
| Mon |
Weds |
Mon |
Weds |
Mon |
Weds |
Mon |
Weds |
|
29
|
31 |
3
Guest speaker |
5
No class |
|
2 |
5 |
7 |
|
5
No class |
7 |
10
No class |
12
Quiz |
7 |
9 |
12
Last class |
14
Final |
|
12 |
14
|
17
Midterm |
19 |
14 |
16 |
19
Final |
|
|
19 |
21 |
24
|
26 |
21 |
23 |
|
|
|
26 |
28 |
31 |
|
28 |
30
|
|
|
PG.695 read about BGCOLOR (background color) and table data <td> where you
can open a font and a color.
<tr>
<td vAlign="top" width="13%" height="33">
<p align="center"><b><sup><font size="4">
<a href="http://drebrahimi.com/bu3015/jvb092605.htm">26</a></font></sup></b></td>
<td vAlign="top" width="12%" height="33">
<p align="center"><b><sup><font size="4">28</font></sup></b></td>
<td vAlign="top" width="13%" height="33">
<p align="center"><b>31</b></td>
<td vAlign="top" width="12%" height="33"> </td>
<td vAlign="top" width="10%" height="33">
<p align="center"><b>28</b></td>
<sub>
<td vAlign="top" width="12%" height="33">
<p align="center"><b>30</b></p>
<p align="center"> </td>
<sub>
<td vAlign="top" width="14%" height="33"> </td>
<td vAlign="top" width="21%" height="33"> </td>
</tr>
- PG. 694 has everything you need to build a webpage and for programming
input.
- pg. 695 is the assignment. Back up your assignments in your yahoo account.
- How would you make a column to be entirely activated? How would you change
the color of a column?
Idea for the first, use <href and the second answer is for
your table data, the input type is "Button". Read on input type on page 707.
There is another called Text Area used to coordinate area. (area
coordination).
- Pure html is done by 1/4 by front page when written in FP.
please look at the site Acm.org

- GIF is a graphic image format for pictures
- JPEG, BMP are also formats. Some take more space than others.
- Hyperlink is from <a href. "a" means ANCHOR.
- 3rd commandment of HTML is Image.
- 90 percent of web pages are made of the 10 commandments. pg 694 contents.
- Usually the text that is underlined and by default blue underlined is
anchored (hyperlinked)
- It can also be a picture, image, or button that will anchor you
(hyperlink).
- We are discussing the communication of ACM ..the oct issue.
- Understanding Data Quality in E Business - on pg 2, "can you spot the
errors." advertisement.
bool func(char *s1, size_t lenl,
char *s2, size_t
len2) {
if (1 + len1 + len2 > 64)
return false;
// accommodate for the trailing null in the addition
char *buf = (char*)malloc(len1+len2+1);
if (buf) {
StringCchCopy
(buf,len1+len2,s1);
StringCchCat(buf,len1+len2,s2)
}
// do other stuff with buf
if (buf) free (buf);
return true;
}
- the key terms for this is the Boolean data type. * is for pointers.
Pointers is a powerful program. Its a variable that holds an address in
memory. Its very dangerous as well.
S1 is a string. An array of characters.
Null is in C++. Not in Java. Its used to know where the data ends.
What is the length of the string EBRAHIMI? 9 in C++ including one for NULL. In
Java it will be 8.
- len = length, with is an integer.
- What is S2? its a String.
- What is len2? its length of 2...of s2.
- What does this function tell you? you have two strings, s1 and s2. It
gives you the lengths of each.
- What does " if (1 + len1 + len2 > 64)" do? (1 is added for null) If the
lengths added together are greater than 64, return false, most likely because
it is 64 bits, but 1 should be added to len2 as well. Why return false?
because you do not want to continue, because there is a problem.
- Please find this concept in the book. Would you know this code is C++?
- The errors found in the code can be extremely costly, billions of dollars,
and cause mayhem and chaos.
- // is Java, C++. more info on pg. 31, and 66.
- What kind of statements is "char *buf = (char*)malloc(len1+len2+1);"?
this statement is an assignment. Malloc is for memory allocation.(len1+len2+1)
should actually be adding 2 instead. This statement is requesting a certain
amount of memory. Its allocating it as characters.
- Buf short for buffer, which means temporary memory or array.
- What does " if (buf) {" say? Anything in C besides 0 is true.
- What does "if (buf) free (buf);" mean? If you have memory in usage,
free it. Malloc was used to allocate memory. You can do this only with C++.