fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. class wyswietlanie_liczb
  5. {
  6. public:
  7. class procent_wygranej
  8. {
  9. int zmienna_typu_int;
  10. public:
  11. int operator()(int a, int b) { return a*b; }
  12. };
  13. };
  14.  
  15. int main()
  16. {
  17. wyswietlanie_liczb::procent_wygranej pw;
  18. cout<<pw(2,3)<<endl;
  19. return 0;
  20. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
6