Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include "Colour.h"
  2.  
  3. int main(int argc, char** argv) {
  4.  
  5. //sizeof(Colour) = 3
  6. Colour* data = new Colour[8 * 8];
  7.  
  8. for (int y = 0; y < 8 * 8; y++)
  9. {
  10. data[y] = Colour::WHITE;
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement