First character of string input/output incorrect

So I have a dynamic array of "struct bill", let's call this bill b[size], with size=10 to begin with. This bill has strings, with hash and ID identifying the bill. When I input to the bill, the "Add" command/function is supposed to see if the size needs to be expanded, then grows if it doesn't have enough capacity. The grow function works, but when I call add a lot of times it seems my hash and ID (which are input using ifstream), the output of the two strings often have their first character incorrect. When could the replacement occur? I can't figure it out.
Hello GonlyG,

If your question is all I have to go by I can not figure it out either.

With out the code and the input there is nothing to look at or test.

You could spend a lot of time having people ask you questions trying to figure this out and still never solve the problem because you are going the wrong direction.

Give people something more to work with first.

Andy
Topic archived. No new replies allowed.