why doesnt the 2nd input work?

actually nvm.
Last edited on
I didn't quite understand what you are trying to do with the

1
2
3
for (int x = 0; x < 500; x++)
			{
				getline(file, index[x]); //what is index[x] 


lines. are you indexing in 500 times again and again? I think you should use strings to make your code more readable.
this is just a part of the code.

the limit is unknown so i just use 500 as a temp number. it can be more or less but it doesnt really matter

index is from the text file. im just assigning index[x] values from the text file. each value of index is different so why not loop it?
Last edited on
Topic archived. No new replies allowed.