Hi,
In the below code I've copied the value of a string variable into "store" (which is Char(50).
When I print the value of store, it crashes!!!
please can someone tell me how to store from string to char and print the value of char!!
thanks
John
Code:
==============================================
strcpy(store,ret.c_str());
printf("%s",store);
=============================================