|
|
(7 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | -----------------------------------------------------------------------------------------------------------------------
| |
| | | |
− |
| |
− | Name: Anton Teremetskyi
| |
− |
| |
− | SID: 068937093
| |
− |
| |
− | E-mail: [mailto:ateremetskyi@learn.senecac.on.ca?subject=oop344-jsantos13 ateremetskyi@learn.senecac.on.ca]
| |
− |
| |
− | Blog: [http://ateremetskyi.blogspot.com/ Anton's Blog]
| |
− |
| |
− | Skype: Teremetskyi_Anton
| |
− |
| |
− | IRC Nick: ateremetskyi
| |
− |
| |
− |
| |
− | -----------------------------------------------------------------------------------------------------------------------
| |
− |
| |
− |
| |
− | My Links:
| |
− |
| |
− | [[Student List 20121 - OOP344 | Student List]]
| |
− |
| |
− | [http://zenit.senecac.on.ca/wiki/index.php/OOP344 OOP344 Main Page]
| |
− |
| |
− | [[Team .RU - OOP344 20121 | Team Page]]
| |
− |
| |
− |
| |
− | -----------------------------------------------------------------------------------------------------------------------
| |
− |
| |
− |
| |
− | '''Class notes :''' 09.02.2012
| |
− |
| |
− |
| |
− | int(*fptr[3])(int, int){name1, name2, name3};
| |
− |
| |
− |
| |
− | The better way to validate any attribute is to use functions .
| |
− |
| |
− | ValidYear = getYear(Year); // Bool function
| |
− |
| |
− |
| |
− | Check what do functions cin.clear()and others mean .
| |
− |
| |
− |
| |
− | I like the way the teacher sends the output to the function
| |
− |
| |
− | >> sendMsg("The number is", double number); // Something like that
| |
− |
| |
− |
| |
− | bool validCCV(int ccv){
| |
− | return ccv >= 100 && ccv <= 999;
| |
− | } // Better example of the function above .
| |
− | -----------------------------------------------------------------------------------------------------------------------
| |