The above code worked a while back. I guess my compiler has been upgraded. Still a bit surprised to get:Code:c_progvs ci_progvs(argc, argv); char *p_s_filename_log = &ci_progvs.m_s_filename_log; ofstream f_logfile(p_s_filename_log);
error : cannot convert 'std::string*' to '*char' in initialisation.
Just would like to know is this a compiler difference? Am I mistaken and my code has been unintentionally changed ?
Fairly sure that previous compiler was MINGW. Now says it is a GNU compiler.
Any help appreciated as I have no technical support to help apart from you guys. Cheers




Reply With Quote
