User profile: jlb

User info
User name:jlb
History
Joined:
Number of posts:4969
Latest posts:

Trying to input a file and storing the data in a vector
It would help if you posted a complete program and the contents of your input file. Have you tried ...

Trying to input a file and storing the data in a vector
First why the Ingredients*? Why not just an Ingredient? Second where are you allocating/de-allocati...

If Loops & Input From Data File
First please show your input file contents. Second you should always check that the file opened cor...

Arrays with outputFilles.
[code] // Input user selection. cin >> userChoice; cin.ignore(2, '\n'); // T...

Cout not printing in for loop
It's not working because x is never less than 5.