is there a way to let the user input a file name in c++?
Type: Posts; User: iamthejake2000
is there a way to let the user input a file name in c++?
i'm new to c++ and i'm trying to get a hang of file i/o. this code is making errors when i try to compile it (main() is yet to be filled):
#include <string>
#include <iostream>
#include...
can a user input the number of elements in an array? this won't work:
int liEls;
cout << "Elements in array liaArray[]="; cin >> liEls;
const int cliEls=liEls;
int liaArray[cliEls];
...