Search:

Type: Posts; User: Skarjak

Search: Search took 0.00 seconds.

  1. YAY!!! it finally works, thanks. I had written...

    YAY!!! it finally works, thanks.

    I had written it this way because I thought the first end (j); would actually start the function, and then j = end (j); would set the value of the main j to the...
  2. Thanks for the help. By learning to format,...

    Thanks for the help.

    By learning to format, you mean I should identify my sections better?



    ////////////////////////////
    //FUNCTIONS///////////
    ////////////////////////////
  3. Alright, my situation has evolved a bit (or...

    Alright, my situation has evolved a bit (or devolved, depending on how you see it).

    I changed some parts of the code:


    #include <iostream>

    using namespace std;

    int addition ( int a, int...
  4. Cannot get my program to exit properly (switch related)

    I revamped one of my programs which used numerous "else if" statements.


    #include <iostream>

    using namespace std;

    int addition ( int a, int b );

    int substraction ( int c, int d );
  5. Replies
    4
    Views
    1,181

    Thanks for the answer, I understand now. I knew...

    Thanks for the answer, I understand now. I knew it had a link with the program closing itself, but now I understand exactly how it works. :)

    N00bville is a pretty dark and gl00my place. People...
  6. Replies
    4
    Views
    1,181

    Wow that was fast, thanks a lot.:D While I'm...

    Wow that was fast, thanks a lot.:D

    While I'm at it, I don't completely understand what cin.ignore(); does, and attempts by others to explain it to me have failed.

    Can you please tell me what it...
  7. Replies
    4
    Views
    1,181

    Help with ! (NOT)

    Hi there, I'm trying to learn C++ with no past programming experience, and I have encountered a problem.

    You see, I made this program which works perfectly:


    #include <iostream>

    using...
Results 1 to 7 of 7