I'm trying to assign a string to a string array, but I keep getting the 'cannot convert parameter' error. Here's the syntax I'm using:
Code:string data; string *cargo_name_array; cargo_name_array = new string[n+1]; strcpy(cargo_name_array[i], data);



LinkBack URL
About LinkBacks


