I am trying to make a text editor using console and char array[100] strings.
If this isn't possible, tell me now :D My error code is as follows:
Code:char fileName[100];
cout << "What do you want you're .editor to be today?\n";
cin.getline ( fileName, 100, ' ');
ofstream file(fileName ".editor");
The compiler error is 'expected ) before string constant'
Is it possible to use c style strings in this case?