Parallel routines - Bestway to convert strings to char*
Posted: Mon Aug 24, 2015 8:49 am
Hi
We have some parallel routines that are porting from linux to windows. some of the routines, planning to rewrite in c++ and use string objects. Howerver datastage native is char*
what is the best way to convert string to char* and vice versa? if a malloc is done to copy string to char* and return char* how to free that malloc before returning it.
We have some parallel routines that are porting from linux to windows. some of the routines, planning to rewrite in c++ and use string objects. Howerver datastage native is char*
what is the best way to convert string to char* and vice versa? if a malloc is done to copy string to char* and return char* how to free that malloc before returning it.