fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <iostream>
  5. #include <string>
  6. using namespace std;
  7. int main()
  8. {
  9.  
  10. char str[]="blahblah";
  11. char toDecrypt[] = str;/*str is equivalent to node->string*/
  12. return 0;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:11:21: error: initializer fails to determine size of ‘toDecrypt’
prog.cpp:11:7: warning: unused variable ‘toDecrypt’ [-Wunused-variable]
stdout
Standard output is empty