sdemodica (0)

I need help with my vectors.
posted to Ask by sdemodica

@Highwayman On line 244 (where the program stops), if you were to enter 'RTN', it would call the main menu function starting on line 44 and it would start from the beginning again. If you were to enter 'QUIT', it would quit the entire program and it would end.

Please feel free to ask for any information and thanks for your help!

I need help with my vectors.
posted to Ask by sdemodica

@Highwayman I tried to change the values of both listChoice and displaySentinel and it still doesn't work. Does it work on your end?

Thanks

I need help with my vectors.
posted to Ask by sdemodica

@Highwayman If it's not too much to ask, I'm having another issue with the same program, when the sentinel value is entered '4' for the list display, the program ends and it won't let me continue the rest of the program (lines 195 - 242). Also, how do I make the files create a new line for every list entry?

Thanks again,
Steven

Help!
posted to Ask by sdemodica

@malvoliothegood Yes, we do have to use vectors because it's a homework assignment. We do have to edit the lists. Any recommendations for how I can use vectors or my existing vectors to edit the existing lists?

I need help with my vectors.
posted to Ask by sdemodica

@Highwayman Thank you, you helped me a lot!

I'm learning C++
posted to Share by epicman702

@epicman702 Kind of, when I ran the program, it just kept repeating once I got to a certain point, probably line 18.

I'm learning C++
posted to Share by epicman702

@epicman702 You will get used to it. Best of luck! :)

I'm learning C++
posted to Share by epicman702

Instead of doing std :: each time. Right after your #include's, type "using namespace std;" and then you won't have to every time you do a cout. Very good though!

Help!
posted to Ask by sdemodica

@sdemodica (12-2-19)

@malvoliothegood: Thank you for your help with my problem. I'm having an issue with a new program I'm making and I wanted to know if you could help me out? It's a program where you can create and edit lists, I haven't gotten to the editing part yet though. The problem I'm having is that my function isn't accepting my vectors and I don't know what I'm doing wrong (Please see code comments). It keeps giving me a 'segmentation fault' error when the function attempts to call the vectors into the function.

URL: https://repl.it/@sdemodica/73-Vector-Lists

Thank you,
Steven

Help!
posted to Ask by sdemodica
Help!
posted to Ask by sdemodica

@malvoliothegood Thank you for your help! But, since we haven't gotten to arrays in our class yet, hypothetically, how would it be done without arrays and just with if/else and loops and functions? ...If it's not too much to ask.