This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 27th, 2012  |  syntax: None  |  size: 0.37 KB  |  views: 45  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. `
  2. class A
  3. {
  4.     bool fullscreen;
  5.     public A(bool fs)
  6.     {
  7.     fullscreen = fs;
  8.     fullscreen = false;
  9.     //TODO modify the GFullScreen
  10.     }
  11.  
  12.  
  13. }
  14.  
  15.  
  16. class Game
  17. {
  18.     bool Gfullscreen;
  19.  
  20.  
  21.     public Game()
  22.     {
  23.         GFullScreen = true;
  24.         A myclassA(Gfullscreen)
  25.     }
  26.  
  27.  
  28. };
  29.  
  30. int main(int argc, char* argv[])
  31. {
  32.     Game theGame;
  33. }
clone this paste RAW Paste Data