Difference between revisions of "User:Ateremetskyi"

From CDOT Wiki
Jump to: navigation, search
Line 63: Line 63:
  
  
'''Class notes :''' --.--.2012
+
'''Class notes :''' 23.02.2012
  
 +
1. Virtual functions 2. Frames 3. CField
  
 
-----------------------------------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------------------------------

Revision as of 13:29, 23 February 2012



Name: Anton Teremetskyi

SID: 068937093

E-mail: ateremetskyi@learn.senecac.on.ca

Blog: Anton's Blog

Skype: Teremetskyi_Anton

IRC Nick: ateremetskyi




My Links:

Student List

OOP344 Main Page

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 .


HomeWork - I have to understand how the program the teacher used works. I can find that program by the date in SVN. Then, I have to finish the assignment 1 (I did not send it yet, some errors appear).


The class on Monday is going to be in T2107 lab.




Class notes : 23.02.2012

1. Virtual functions 2. Frames 3. CField