Helpful Forums for this.??

Apr 7, 2017 at 8:01pm
Hello I was wondering if anyone had any good forums about reading in file in a program that has data you would like to update certain variables with.

Ex: there is a .txt file I read in that holds a user name and car model type and when I read in that file I would like to take that information and set it equal to the username and carmodeltype variables I have within my program.

If the user has no file to read in to fill in the values they can just set them (which would just be a simple cin into the variables for username and carmodeltype.)

I tried some google but I don't get forums helping on setting data to a variable.
Last edited on Apr 7, 2017 at 8:05pm
Topic archived. No new replies allowed.