You can use structure like this struct Date { unsigned short nWeekDay : 3; // 0..7 (3 bits) unsigned short nMonthDay : 5; // 0..31 (6 bits) unsigned short nMonth : 4; // 0..12 (5 bits) unsigned short nYear : 7; // 0..100 (8 bits) }.
1 You only need 5 bits for nMonthDay, 4 bits for nMonth and 7 bits for nYear (if you only want to go from 0 to 100). – Omnifarious Mar 29 '10 at 6:23 True...you are right... – mihir mehta Mar 29 '10 at 6:51.
You can use the vector specialization class std::vector bits(3); or, boost's dynamic_bitset class boost::dynamic_bitset bits(3); boost.org/doc/libs/1_42_0/libs/dynamic_b....
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.