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...
Type: Posts; User: Skarjak
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...
Thanks for the help.
By learning to format, you mean I should identify my sections better?
////////////////////////////
//FUNCTIONS///////////
////////////////////////////
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...
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 );
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...
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...
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...