Recent content by Swag1

  1. S

    C/C++ Printing Elements of a Vector Forwards and Backwards

    Hmmm, we are only aloud to change the "<student code>" section. Also, I meant to put my code in before, but I guess it didn't work. What would you suggest if I can only add code to the "<student code>" section and cannot initialize a new variable? @opalg for (i = 0; i < NUM_VALS; i++) {...
  2. S

    C/C++ Printing Elements of a Vector Forwards and Backwards

    I am also having trouble with this problem everything works until the second for loop. The issue is the second loop only outputs one number, which is the ten. I see the logical issue, but do not know how to make it work. Any suggestions?
Back
Top