These tutorials focus mainly on OpenGL, Win32 programming and the ODE physics engine. OpenGL has moved on to great heights and I don't cover the newest features but cover all of the basic concepts you will need with working example programs.

 

Working with the Win32 API is a great way to get to the heart of Windows and is just as relevant today as ever before. Whereas ODE has been marginalized as hardware accelerated physics becomes more common.

 

Games and graphics utilities can be made quickly and easily using game engines like Unity so this and Linux development in general will be the focus of my next tutorials.    

  

 

           BIT no.     1     0

                      off   off  =  Back without a fish.

                      off   on   =  Back with a fish.

                      on    off  =  Back with a fish, I'm coming over.

                      on    on   =  Gone fishing.

          BIT no.     1     0

                      0     0   =  Back without a fish.

                      0     1   =  Back with a fish.

                      1     0   =  Back with a fish, I'm coming over.

                      1     1   =  Gone fishing.
          BIT no.     1     0

                      0     0   =  0

                      0     1   =  1

                      1     0   =  2

                      1     1   =  3
          BIT no.     1        0

                      0    +   0    =  0

                      0    +  2^0   =  1

                     2^1   +   0    =  2

                     2^1   +  2^0   =  3    
   BIT no.    7     6     5     4     3     2     1     0

              1     1     0     1     0     1     0     1    =  213

      or

             2^7 + 2^6 +  0  + 2^4 +  0  + 2^2 +  0  + 2^0   =  213
 (BIT value   128   64    32    16     8     4     2     1)

  BIT no.      7     6     5     4     3     2     1     0

               1     1     0     1     0     1     0     1    =  213

      or

              128 + 64  +  0  + 16  +  0  +  4  +  0  +  1    =  213
               00000000 = 0

               00000001 = 1

               00000010 = 2

                   "

                   "

               11111111 = 255
 
       213 - 128 = 85    so BIT 7 is on...                1

        85 - 64  = 21    so BIT 6 is on...                11

        21 - 32          cant be done so BIT 5 is off...  110

        21 - 16  = 5     so BIT 4 is on...                1101

         5 - 8           cant be done so BIT 3 is off...  11010

         5 - 4   = 1     so BIT 2 is on...                110101

         1 - 2           cant be done so BIT 1 in off...  1101010

         1 - 1   = 0     so BIT 0 is on...                11010101
 
   Memory may look like this:

          11010101000101010110100111011110...
   
   Which becomes:

          11010101 00010101 01101001 11011110 ...
   
   Which becomes:

          213  21  105  222  ...
 
          213

           21

          105

          222

           . 

           . 
 
   Address
           
      0          213

      1           21

      2          105

      3          222

      4           .

      5           .

      .           .

      .           .