How would I do something like this:
This compiles without any errors/warnings BUT when I run it, it says the program has had an error and will now close...Code:char en_file1[255]; int file1_len; ifstream getFileName ("aFile.ini"); getFileName.getline(en_file1,255,'\n'); file1_len = strlen(en_file1); for (int i = 0; i < file1_len; i++) { de_file1[i] = en_file1[i]; }
basically I need somthing that will convert a character[255] to a string.