Changes

Jump to: navigation, search

Weekly Schedule 20123 - OOP344

865 bytes added, 09:55, 11 November 2012
Week 10 - Nov 4
== Week 10 - Nov 4 ==
=== This Week 10===
* Project Milestone 0.2
* bitwise operators
=== This Week 10===*# and, or, not, exclusive or*# shifts*# determining the value of bits*#: masks*# setting the value of bits*#: mask AND value to set to zero (ex. 3rd bit: 1111 0111)*#: mask OR value to set to one (ex. 3rd bit: 0000 1000)
=== To Do 10===
* [[The CIO Framework - OOP344 20123#0.2 Milestone|Project Milestone 0.2 (Due Sunday Nov 11th 23:59)]]
* Challege
*# setBit(unsigned int val, unsigned int bitNo, bool bitVal);
*#: Sets the "bitNo" bit of val to the "bitVal" value
*# char* bits(unsigned int val)
*#: returns a character string holding the bit pattern of val (i.e cout<<bits(0xF7)<<endl, will print 11110111)
*# write the void prnBits(unsigned int val) function (wrote in class) in only one line.
 
=== Resources 10===
* https://scs.senecac.on.ca/~oop344/pages/content/bitsw.html
* http://en.wikipedia.org/wiki/Bitwise_operators
* http://tinyurl.com/GoogleBitWiteOps
== Week 11 - Nov 11 ==

Navigation menu