<p>"<strong><em>also, I think you are misunderstanding the concept of a ;(semicolon). You don't put it at the end of a line, but rather then end of a statement. So you need to put cout before << degreesC.</em></strong></p>
<p>what does that mean???? what do you mean by you need to put cout before << degrees C??? i think i did? i just don't see where your coming from...thanks!!"</p>
<p>I'm talking about what you originally posted:</p>
<p>cout << "the degrees in Celsius is: ";
<< degreesC;</p>
<p>you don't need the first semi colon.</p>
<p>you should have it as either:
cout << "the degrees in Celsius is: " << degreesC;</p>
<p>or </p>
<p>cout << "the degrees in Celsius is" ";
cout << degreesC;</p>
<p>also, when possible, use std::endl over "
".</p>
<p>Also, I tried vectors code, and it doesn't pause. Unless you are executing directly from command prompt, this shouldn't happen.</p>
<p>An alternative to system("PAUSE") is to do</p>
<p>cin >> <insert some="" variable="" you="" don't="" need="" anymore="">;</insert></p>
<p>this will require that the user input some kind of number or character, etc, and then the program will exit. This is more platform independent, because what your system("PAUSE") is doing is entering PAUSE onto the console, which is windows specific. Therefore, you won't get the same results on linux.</p>