hectorDUQUE
Programmer
- Jan 29, 2007
- 23
hi guys,
i am getting problems trying to convert a c++ basic string to a char * (C languaje).
error: cannot convert ‘std::string’ to ‘char*’ for argument ‘1’ to ‘void hD_readIniFile(char*, map_group_type&, map_groupFN_type&)’
is there a function to convert this ?
thanks in advance
hector
i am getting problems trying to convert a c++ basic string to a char * (C languaje).
error: cannot convert ‘std::string’ to ‘char*’ for argument ‘1’ to ‘void hD_readIniFile(char*, map_group_type&, map_groupFN_type&)’
Code:
string fn_ch(*cur_edge);
hD_readIniFile(fn_ch, groupOfNumbers, groupsFN);
is there a function to convert this ?
thanks in advance
hector