#include <stdio.h>#include <stdlib.h>#include <string.h>#include <iostream>#include <string>using namespace std;int main(){ char str[]="blahblah"; char toDecrypt[] = str;/*str is equivalent to node->string*/ return 0;}
Standard input is empty
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]
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!