fork download
  1. #include <iostream>
  2. #include <string.h>
  3.  
  4. using namespace std;
  5.  
  6. class Lolka
  7. {
  8. #define Lo int a[]={
  9. #define lka }; lolq(a,CO);
  10. public:
  11. static const int CO = 3; int lolque[CO];
  12. void lolq(int *arr, int cnt){ memcpy(lolque, arr, sizeof(int)*cnt); }
  13.  
  14. Lolka()
  15. {
  16. Lo 3,4,5 lka
  17. }
  18. };
  19.  
  20. int main() {
  21. Lolka lol;
  22. for (int i=0;i<lol.CO;i++) cout<<lol.lolque[i]<<endl;
  23. return 0;
  24. }
  25.  
Success #stdin #stdout 0s 2896KB
stdin
Standard input is empty
stdout
3
4
5