Search:

Type: Posts; User: reb221

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,804

    I did copy&paste, I just thought that my code got...

    I did copy&paste, I just thought that my code got messed up for whatever reason when I posted. lol, that would be a lot of code rewriting.:rolleyes:
  2. Replies
    7
    Views
    1,804

    Nevermind, I found the problem. It turns out...

    Nevermind, I found the problem.

    It turns out to the far right of those lines was a copy of the last part of those lines. It went like this:


    scanf("%d", &ssn); ...
  3. Replies
    7
    Views
    1,804

    sorry, some of this stuff got messed up when I...

    sorry, some of this stuff got messed up when I was posting this thread.

    here's the real code:



    printf("\nPlease enter the associates first name:");
    scanf("%s", &first); ...
  4. Replies
    7
    Views
    1,804

    strange basic semicolon error

    When I compile my program I get 2 semicolon related errors that says "statement missing ; in function main"
    And these errors are on the following 2 lines:




    scanf("%d", &ssn);
    ...
  5. Replies
    6
    Views
    19,328

    Thanks, that fixed it!

    Thanks, that fixed it!
  6. Replies
    6
    Views
    19,328

    adding elements in array

    I'm making a program that will add all the values in an array to get a total value, I wrote out my program on paper and it should run just fine, but instead of the final variable of the array just...
Results 1 to 6 of 6