I think I fugured it out!!! is it like this?:
//code
{
char filename[20];
char filetxt[5000];
//code
// of stream declaration ( << filename << );
a_file( << filetxt << );
Type: Posts; User: programer345
I think I fugured it out!!! is it like this?:
//code
{
char filename[20];
char filetxt[5000];
//code
// of stream declaration ( << filename << );
a_file( << filetxt << );
It really isn't homework just a projcet I'm making for fun I figured out parts of it but I just don't know how to get what the user inputed into the ofstream line:
What I'm talking about:
...
This isn't homework but I am stuck really all I need to know is how to put the file name that the user imported into the ofstream line is it some thing like this
//code
{
char filename;...
What I need is the code and the user types a command to veiw the file that the user has made but more importantly I need the code
I'm making a very large program Right now and I need some some code for communicating through a USB port This is what a user would do if the program was finished:
~The user types in a command
~the...
IS there a way too make that if the user runs a program the programe makes a file and the user then define whats written in the file:confused:IF you dont get it I think this should help:
you run the...