hello please answer quick as you can it is 1:35 here and not pm
I am writing a program that needs to input files but the name of the file needs to increment everytime a while loop runs. I can handle the while loop but i cant seem to get any type of variable in the ifstream command.
I want for everytime the while loop runs for this to happen
If you know how to do this please respond here or if you need more infoCode:THIS CODE IS FOR EXPLANING ONLY IT DOESNT RUN DONT TRY TO COMPILE ifstream b_file ( "input1.txt" ); while loop runs ifstream b_file ( "input2.txt" ); while loop runs ifstream b_file ( "input3.txt" ); etc.
If i have broken any rule please forgive me and my eyes cuase its 2 in the morning and i cant see anything
and
this is only the beggining of my problems so if someone can be ready to help anytime I need
please email me please