fork download
  1. #include <string.h>
  2.  
  3. class about{
  4. char w[10][40];
  5.  
  6. public:
  7. void get(const char core[ ][2000], int num);
  8. };
  9.  
  10. void about::get(const char core[ ][2000], int num){
  11. char data[2000];
  12. strcpy(w[0], data);
  13. }
  14.  
  15. int main() {
  16. about a;
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty