Difference between revisions of "User:Ateremetskyi"
Ateremetskyi (talk | contribs) |
Ateremetskyi (talk | contribs) |
||
Line 34: | Line 34: | ||
int(*fptr[3])(int, int){name1, name2, name3}; | int(*fptr[3])(int, int){name1, name2, name3}; | ||
+ | |||
+ | The better way to validate any attribute is to use functions . | ||
+ | >> ValidYear = getYear(Year); // Bool function |
Revision as of 12:13, 9 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:
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